Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.InductiveLoadTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 95.78 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 189 kB / 17.2 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.4 MB / 223.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.3675/0.3675, allocations: 38.05 MB / 309.7 MB, free: 9.012 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005215/0.0005216, allocations: 18.19 kB / 376.6 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1304, allocations: 56.34 MB / 432.9 MB, free: 6.738 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.InductiveLoadTest): time 0.004235/0.1346, allocations: 3.532 MB / 436.5 MB, free: 3.188 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00254/0.1372, allocations: 1.751 MB / 438.2 MB, free: 1.426 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.1374, allocations: 11.94 kB / 438.2 MB, free: 1.414 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.1376, allocations: 51.67 kB / 438.3 MB, free: 1.363 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006629/0.1383, allocations: 239.1 kB / 438.5 MB, free: 1.129 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.1386, allocations: 115.7 kB / 438.6 MB, free: 1.016 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003041/0.1389, allocations: 219.5 kB / 438.8 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008059/0.1397, allocations: 406.5 kB / 439.2 MB, free: 392 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002301/0.14, allocations: 151.4 kB / 439.4 MB, free: 240 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.1402, allocations: 111.6 kB / 439.5 MB, free: 128 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.1402, allocations: 12 kB / 439.5 MB, free: 116 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004372/0.1406, allocations: 227.6 kB / 439.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.1408, allocations: 131.7 kB / 439.8 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.902e-05/0.1409, allocations: 77.58 kB / 439.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000432/0.1413, allocations: 355 kB / 440.3 MB, free: 15.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.1413, allocations: 4 kB / 440.3 MB, free: 15.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1413, allocations: 0 / 440.3 MB, free: 15.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.1413, allocations: 0 / 440.3 MB, free: 15.33 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0008099/0.1422, allocations: 0.5494 MB / 440.8 MB, free: 14.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.1422, allocations: 12.03 kB / 440.8 MB, free: 14.72 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.929e-05/0.1423, allocations: 62.53 kB / 440.9 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/0.1435, allocations: 151.5 kB / 441 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.1439, allocations: 278.5 kB / 441.3 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/0.144, allocations: 24.56 kB / 441.3 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.144, allocations: 24 kB / 441.4 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006449/0.1447, allocations: 439.6 kB / 441.8 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.1447, allocations: 3.938 kB / 441.8 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.566e-05/0.1448, allocations: 12 kB / 441.8 MB, free: 13.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.393e-05/0.1448, allocations: 24.55 kB / 441.8 MB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006559/0.1455, allocations: 425.9 kB / 442.2 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002324/0.1478, allocations: 1.722 MB / 444 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.1482, allocations: 286.6 kB / 444.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.525e-05/0.1483, allocations: 4.25 kB / 444.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.1483, allocations: 42.73 kB / 444.3 MB, free: 11.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.833e-06/0.1483, allocations: 0 / 444.3 MB, free: 11.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=23): time 0.001755/0.1501, allocations: 0.7851 MB / 445.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.1501, allocations: 77.11 kB / 445.2 MB, free: 10.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.1503, allocations: 214.9 kB / 445.4 MB, free: 9.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.1504, allocations: 29.64 kB / 445.4 MB, free: 9.848 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.1505, allocations: 188.1 kB / 445.6 MB, free: 9.656 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.068e-05/0.1506, allocations: 86.83 kB / 445.7 MB, free: 9.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.289e-05/0.1506, allocations: 7.938 kB / 445.7 MB, free: 9.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1507, allocations: 326.8 kB / 446 MB, free: 9.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.1509, allocations: 112.5 kB / 446.1 MB, free: 9.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000211/0.1511, allocations: 201 kB / 446.3 MB, free: 8.887 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.1513, allocations: 141.1 kB / 446.4 MB, free: 8.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1513, allocations: 0 / 446.4 MB, free: 8.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006961/0.152, allocations: 429.9 kB / 446.9 MB, free: 8.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.152, allocations: 4 kB / 446.9 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.152, allocations: 4 kB / 446.9 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003927/0.1524, allocations: 88.78 kB / 446.9 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.1527, allocations: 55.91 kB / 447 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/0.1546, allocations: 1.83 MB / 448.8 MB, free: 6.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.1547, allocations: 15.98 kB / 448.9 MB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.1548, allocations: 15.98 kB / 448.9 MB, free: 6.168 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001781/0.155, allocations: 165.8 kB / 449 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.593e-05/0.155, allocations: 23.72 kB / 449.1 MB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006771/0.1557, allocations: 384.1 kB / 449.4 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.1557, allocations: 4 kB / 449.4 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.1557, allocations: 0 / 449.4 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.1557, allocations: 0 / 449.4 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.1571, allocations: 0.9253 MB / 450.4 MB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.1571, allocations: 3.984 kB / 450.4 MB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.1573, allocations: 35.92 kB / 450.4 MB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002711/0.1576, allocations: 72.86 kB / 450.5 MB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.183e-05/0.1576, allocations: 11.98 kB / 450.5 MB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/0.1593, allocations: 1.737 MB / 452.2 MB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1593, allocations: 0 / 452.2 MB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006654/0.1599, allocations: 495.7 kB / 452.7 MB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.16, allocations: 96.83 kB / 452.8 MB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.1601, allocations: 15.95 kB / 452.8 MB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.1602, allocations: 11.98 kB / 452.8 MB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.1603, allocations: 15.97 kB / 452.8 MB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.1603, allocations: 12 kB / 452.8 MB, free: 1.879 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.1604, allocations: 152.4 kB / 453 MB, free: 1.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1604, allocations: 0 / 453 MB, free: 1.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005048/0.1609, allocations: 84 kB / 453.1 MB, free: 1.648 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001016/0.162, allocations: 1.227 MB / 454.3 MB, free: 380 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2277/0.3896, allocations: 418.4 kB / 454.7 MB, free: 51.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.3897, allocations: 2.406 kB / 454.7 MB, free: 51.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000536/0.3902, allocations: 289 kB / 455 MB, free: 51.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004231/0.3907, allocations: 30.19 kB / 455 MB, free: 51.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.3931, allocations: 3.702 MB / 458.7 MB, free: 48.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.3934, allocations: 0.8139 MB / 459.5 MB, free: 47.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.3936, allocations: 52.38 kB / 459.6 MB, free: 47.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.3937, allocations: 84.98 kB / 459.7 MB, free: 47.74 MB / 382.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3937, allocations: 0 / 459.7 MB, free: 47.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.4104, allocations: 5.108 MB / 464.8 MB, free: 47.36 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/0.4107, allocations: 207.7 kB / 465 MB, free: 47.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.125, allocations: 3.938 kB / 465 MB, free: 47.11 MB / 382.1 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_InductiveLoadTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1) Environment - environmentSimulation: