Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 171.5 kB / 16.07 MB, free: 5.602 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 205.4 MB / 222.2 MB, free: 9.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007111/0.0007111, allocations: 88.86 kB / 270.6 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1683/0.1683, allocations: 38.07 MB / 356.9 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003789, allocations: 12 kB / 423.4 MB, free: 37.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2499, allocations: 56.33 MB / 479.7 MB, free: 9.207 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.00318/0.2531, allocations: 3.209 MB / 482.9 MB, free: 7.188 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001698/0.2549, allocations: 1.441 MB / 484.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.255, allocations: 10.56 kB / 484.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.2552, allocations: 34.97 kB / 484.4 MB, free: 6.145 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005892/0.2558, allocations: 263 kB / 484.7 MB, free: 6.02 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.2561, allocations: 102.8 kB / 484.8 MB, free: 5.973 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000532/0.2566, allocations: 441 kB / 485.2 MB, free: 5.824 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005219/0.2571, allocations: 324.4 kB / 485.5 MB, free: 5.609 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000185/0.2573, allocations: 118.8 kB / 485.7 MB, free: 5.562 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000196/0.2575, allocations: 147.3 kB / 485.8 MB, free: 5.512 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.2576, allocations: 7.625 kB / 485.8 MB, free: 5.512 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005042/0.2581, allocations: 354.1 kB / 486.2 MB, free: 5.391 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.2582, allocations: 98.3 kB / 486.2 MB, free: 5.363 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.708e-05/0.2583, allocations: 117.2 kB / 486.4 MB, free: 5.281 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003206/0.2586, allocations: 254.4 kB / 486.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2586, allocations: 0 / 486.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2587, allocations: 1.312 kB / 486.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.2587, allocations: 0 / 486.6 MB, free: 5.223 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005038/0.2592, allocations: 482.2 kB / 487.1 MB, free: 4.781 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.2592, allocations: 9.156 kB / 487.1 MB, free: 4.781 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.937e-05/0.2593, allocations: 54.69 kB / 487.1 MB, free: 4.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007733/0.26, allocations: 100.2 kB / 487.2 MB, free: 4.707 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.2603, allocations: 257.4 kB / 487.5 MB, free: 4.469 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.2603, allocations: 19.56 kB / 487.5 MB, free: 4.457 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.046e-05/0.2604, allocations: 19.64 kB / 487.5 MB, free: 4.449 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/0.2608, allocations: 316.8 kB / 487.8 MB, free: 4.281 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.2609, allocations: 0 / 487.8 MB, free: 4.281 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.2609, allocations: 10.75 kB / 487.9 MB, free: 4.273 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.114e-05/0.2609, allocations: 18.95 kB / 487.9 MB, free: 4.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000392/0.2613, allocations: 286.7 kB / 488.2 MB, free: 4.184 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.2627, allocations: 1.301 MB / 489.5 MB, free: 3.184 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005138/0.2632, allocations: 211.1 kB / 489.7 MB, free: 3.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.992e-05/0.2633, allocations: 56.27 kB / 489.7 MB, free: 3.059 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.2634, allocations: 3.359 kB / 489.7 MB, free: 3.059 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.2634, allocations: 40.14 kB / 489.8 MB, free: 3.012 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.2634, allocations: 1.281 kB / 489.8 MB, free: 3.012 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008375/0.2642, allocations: 432.3 kB / 490.2 MB, free: 2.746 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.2643, allocations: 80.28 kB / 490.3 MB, free: 2.652 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.2644, allocations: 200.3 kB / 490.5 MB, free: 2.512 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.2645, allocations: 26.73 kB / 490.5 MB, free: 2.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.013e-05/0.2645, allocations: 162.1 kB / 490.6 MB, free: 2.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.2646, allocations: 41.92 kB / 490.7 MB, free: 2.309 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/0.2646, allocations: 5.75 kB / 490.7 MB, free: 2.305 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.992e-05/0.2646, allocations: 331.6 kB / 491 MB, free: 1.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.32e-05/0.2647, allocations: 52.28 kB / 491.1 MB, free: 1.965 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.2648, allocations: 153.5 kB / 491.2 MB, free: 1.816 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.2651, allocations: 230.6 kB / 491.4 MB, free: 1.629 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2651, allocations: 5.312 kB / 491.4 MB, free: 1.625 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003982/0.2655, allocations: 255.9 kB / 491.7 MB, free: 1.508 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.2655, allocations: 9.516 kB / 491.7 MB, free: 1.508 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2655, allocations: 3.812 kB / 491.7 MB, free: 1.508 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002219/0.2657, allocations: 36.58 kB / 491.7 MB, free: 1.496 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.2659, allocations: 46.09 kB / 491.8 MB, free: 1.488 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000847/0.2668, allocations: 1.341 MB / 493.1 MB, free: 164 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.2669, allocations: 5.719 kB / 493.1 MB, free: 164 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.2669, allocations: 17.17 kB / 493.1 MB, free: 156 kB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (24): * Single equations (assignments): 23 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001147/0.267, allocations: 157.1 kB / 493.3 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.2671, allocations: 16.28 kB / 493.3 MB, free: 8 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003877/0.2675, allocations: 195.1 kB / 493.5 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2675, allocations: 1.469 kB / 493.5 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2675, allocations: 2 kB / 493.5 MB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.2675, allocations: 13.91 kB / 493.5 MB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007986/0.2683, allocations: 0.5505 MB / 494.1 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2683, allocations: 1.281 kB / 494.1 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.2684, allocations: 23.91 kB / 494.1 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001343/0.2686, allocations: 35.47 kB / 494.1 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.2686, allocations: 2.875 kB / 494.1 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000981/0.2696, allocations: 1.323 MB / 495.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.2696, allocations: 1.125 kB / 495.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.27, allocations: 309.4 kB / 495.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.2701, allocations: 91.45 kB / 495.9 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.2701, allocations: 7.203 kB / 495.9 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.2702, allocations: 4.266 kB / 495.9 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.2702, allocations: 13.34 kB / 495.9 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.2703, allocations: 8.812 kB / 495.9 MB, free: 13.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001221/0.2704, allocations: 149.4 kB / 496 MB, free: 13.69 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2704, allocations: 0 / 496 MB, free: 13.69 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003565/0.2708, allocations: 52.84 kB / 496.1 MB, free: 13.68 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 12 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006173/0.2714, allocations: 0.8293 MB / 496.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004778/0.2719, allocations: 272.5 kB / 497.2 MB, free: 12.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2719, allocations: 0 / 497.2 MB, free: 12.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002308/0.2721, allocations: 181.3 kB / 497.4 MB, free: 12.63 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.2725, allocations: 30.81 kB / 497.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.2744, allocations: 1.311 MB / 498.7 MB, free: 11.74 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.2748, allocations: 0.7565 MB / 499.5 MB, free: 11.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.889e-05/0.2749, allocations: 59.92 kB / 499.5 MB, free: 11 MB / 330.7 MB Notification: Performance of SimCode: time 2.61e-07/0.2749, allocations: 5.312 kB / 499.5 MB, free: 10.99 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.246/3.521, allocations: 3.854 MB / 0.4916 GB, free: 9.801 MB / 330.7 MB (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_cpp_PowerSystems_Examples_Generic_Test_ImpedanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_cpp_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)