Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_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.2+maint.om/package.mo): time 0.002567/0.002567, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.706/1.706, allocations: 194.3 MB / 208.4 MB, free: 6.699 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00167/0.001671, allocations: 110.3 kB / 253.5 MB, free: 9.586 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1731/0.1731, allocations: 37.91 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.191e-05/4.211e-05, allocations: 4 kB / 397.6 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3214, allocations: 53.22 MB / 450.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1355/0.4569, allocations: 88.92 MB / 0.5271 GB, free: 4.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.4573, allocations: 83.81 kB / 0.5272 GB, free: 4.332 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3638/0.8211, allocations: 13.12 MB / 0.54 GB, free: 86.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.8211, allocations: 4.5 kB / 0.54 GB, free: 86.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.43e-05/0.8211, allocations: 8 kB / 0.54 GB, free: 86.09 MB / 378.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.0007548/0.8219, allocations: 492.2 kB / 0.5405 GB, free: 85.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/0.822, allocations: 9.875 kB / 0.5405 GB, free: 85.62 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.588e-05/0.822, allocations: 49.92 kB / 0.5406 GB, free: 85.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009486/0.823, allocations: 90.69 kB / 0.5406 GB, free: 85.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.8235, allocations: 266.6 kB / 0.5409 GB, free: 85.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.8235, allocations: 11.25 kB / 0.5409 GB, free: 85.27 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.864e-05/0.8236, allocations: 20.06 kB / 0.5409 GB, free: 85.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006553/0.8243, allocations: 311.2 kB / 0.5412 GB, free: 85.05 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.8243, allocations: 0.5625 kB / 0.5412 GB, free: 85.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.8243, allocations: 11.55 kB / 0.5412 GB, free: 85.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000103/0.8244, allocations: 27.34 kB / 0.5413 GB, free: 85.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004985/0.825, allocations: 270.7 kB / 0.5415 GB, free: 84.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.8266, allocations: 1.298 MB / 0.5428 GB, free: 83.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004349/0.8271, allocations: 161.9 kB / 0.5429 GB, free: 83.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.279e-05/0.8272, allocations: 54.95 kB / 0.543 GB, free: 83.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.8272, allocations: 0.5469 kB / 0.543 GB, free: 83.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.8272, allocations: 42.06 kB / 0.543 GB, free: 83.6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.883e-06/0.8273, allocations: 0 / 0.543 GB, free: 83.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006473/0.8279, allocations: 283 kB / 0.5433 GB, free: 83.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.828, allocations: 77.11 kB / 0.5434 GB, free: 83.33 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.8281, allocations: 181 kB / 0.5436 GB, free: 83.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.8281, allocations: 25.7 kB / 0.5436 GB, free: 83.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.672e-05/0.8282, allocations: 166.7 kB / 0.5437 GB, free: 83.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.8282, allocations: 40.81 kB / 0.5438 GB, free: 82.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-06/0.8282, allocations: 7.812 kB / 0.5438 GB, free: 82.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.704e-05/0.8283, allocations: 338.7 kB / 0.5441 GB, free: 82.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.652e-05/0.8284, allocations: 39.06 kB / 0.5441 GB, free: 82.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.951e-05/0.8285, allocations: 146.3 kB / 0.5443 GB, free: 82.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.8286, allocations: 73.08 kB / 0.5443 GB, free: 82.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.8286, allocations: 3.312 kB / 0.5444 GB, free: 82.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003732/0.829, allocations: 257 kB / 0.5446 GB, free: 82.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.829, allocations: 7.531 kB / 0.5446 GB, free: 82.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.829, allocations: 3.781 kB / 0.5446 GB, free: 82.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000248/0.8293, allocations: 40.84 kB / 0.5446 GB, free: 82.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.8294, allocations: 43.23 kB / 0.5447 GB, free: 82.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009136/0.8304, allocations: 1.338 MB / 0.546 GB, free: 80.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.8305, allocations: 18.44 kB / 0.546 GB, free: 80.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.8305, allocations: 18.81 kB / 0.546 GB, free: 80.88 MB / 378.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 () * 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 6.404e-05/0.8306, allocations: 120.4 kB / 0.5461 GB, free: 80.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.546e-05/0.8306, allocations: 13.97 kB / 0.5462 GB, free: 80.75 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003436/0.831, allocations: 187 kB / 0.5463 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.831, allocations: 3.984 kB / 0.5463 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.831, allocations: 7.875 kB / 0.5463 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.831, allocations: 0 / 0.5463 GB, free: 80.62 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006495/0.8317, allocations: 0.5403 MB / 0.5469 GB, free: 80.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.8317, allocations: 3.938 kB / 0.5469 GB, free: 80.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.018e-05/0.8318, allocations: 23.39 kB / 0.5469 GB, free: 80.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001214/0.8319, allocations: 36.39 kB / 0.5469 GB, free: 80.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.8319, allocations: 3.906 kB / 0.5469 GB, free: 80.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006858/0.8326, allocations: 1.325 MB / 0.5482 GB, free: 78.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.8326, allocations: 0 / 0.5482 GB, free: 78.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.833, allocations: 344.8 kB / 0.5486 GB, free: 78.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.196e-05/0.833, allocations: 92.84 kB / 0.5487 GB, free: 78.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.8331, allocations: 7.594 kB / 0.5487 GB, free: 78.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.589e-05/0.8332, allocations: 0 / 0.5487 GB, free: 78.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.8332, allocations: 18.89 kB / 0.5487 GB, free: 78.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.8332, allocations: 8.672 kB / 0.5487 GB, free: 78.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001045/0.8333, allocations: 141.1 kB / 0.5488 GB, free: 78.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8334, allocations: 0 / 0.5488 GB, free: 78.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003624/0.8337, allocations: 57.59 kB / 0.5489 GB, free: 78.2 MB / 378.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 () * 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.0005528/0.8343, allocations: 1.146 MB / 0.55 GB, free: 77.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004398/0.8347, allocations: 259.6 kB / 0.5502 GB, free: 76.91 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8348, allocations: 0 / 0.5502 GB, free: 76.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000192/0.8349, allocations: 171.8 kB / 0.5504 GB, free: 76.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.8352, allocations: 27.45 kB / 0.5504 GB, free: 76.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007168/0.836, allocations: 373.4 kB / 0.5508 GB, free: 76.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.8362, allocations: 0.7718 MB / 0.5515 GB, free: 75.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000116/0.8363, allocations: 40.44 kB / 0.5516 GB, free: 75.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.036e-05/0.8364, allocations: 57.59 kB / 0.5516 GB, free: 75.66 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.8364, allocations: 0 / 0.5516 GB, free: 75.66 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01457/0.851, allocations: 3.488 MB / 0.555 GB, free: 72.66 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001384/0.8512, allocations: 179.6 kB / 0.5552 GB, free: 72.42 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/2.645, allocations: 0 / 0.5552 GB, free: 72.42 MB / 378.7 MB (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)