Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.ImpedanceTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest",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.001197/0.001197, allocations: 88.53 kB / 16.31 MB, free: 6.449 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.001486/0.001486, allocations: 183.1 kB / 17.21 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 223.3 MB / 241.2 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.368/0.368, allocations: 38.07 MB / 330.4 MB, free: 14.18 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003339/0.000334, allocations: 11.94 kB / 400.2 MB, free: 9.168 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3666, allocations: 59.16 MB / 459.3 MB, free: 30.15 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003488/0.3701, allocations: 3.167 MB / 462.5 MB, free: 27.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.372, allocations: 1.397 MB / 463.9 MB, free: 26.9 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.3721, allocations: 10.12 kB / 463.9 MB, free: 26.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001702/0.3723, allocations: 42.67 kB / 463.9 MB, free: 26.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006055/0.3729, allocations: 217.2 kB / 464.2 MB, free: 26.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.3732, allocations: 89.89 kB / 464.2 MB, free: 26.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006965/0.3739, allocations: 440.2 kB / 464.7 MB, free: 26.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007846/0.3747, allocations: 314.3 kB / 465 MB, free: 26.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003052/0.375, allocations: 122.1 kB / 465.1 MB, free: 26.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.3753, allocations: 143.5 kB / 465.2 MB, free: 26.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.3754, allocations: 11.59 kB / 465.2 MB, free: 26.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004152/0.3758, allocations: 165.8 kB / 465.4 MB, free: 26.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.3759, allocations: 93.84 kB / 465.5 MB, free: 26.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.086e-05/0.376, allocations: 65.67 kB / 465.6 MB, free: 26.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000392/0.3764, allocations: 244.4 kB / 465.8 MB, free: 26.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3764, allocations: 2.062 kB / 465.8 MB, free: 26.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3764, allocations: 0 / 465.8 MB, free: 26.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.461e-06/0.3765, allocations: 0 / 465.8 MB, free: 26.07 MB / 350.1 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.0006596/0.3771, allocations: 475.9 kB / 466.3 MB, free: 25.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3772, allocations: 9.406 kB / 466.3 MB, free: 25.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.612e-05/0.3772, allocations: 59.03 kB / 466.3 MB, free: 25.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008804/0.3781, allocations: 93.78 kB / 466.4 MB, free: 25.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.3784, allocations: 253.7 kB / 466.7 MB, free: 25.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.3785, allocations: 19.25 kB / 466.7 MB, free: 25.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.3785, allocations: 20.58 kB / 466.7 MB, free: 25.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005285/0.3791, allocations: 307.9 kB / 467 MB, free: 25.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.3791, allocations: 11.84 kB / 467 MB, free: 25.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.3791, allocations: 10.16 kB / 467 MB, free: 25.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.17e-05/0.3792, allocations: 20.38 kB / 467.1 MB, free: 25.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004771/0.3796, allocations: 285.8 kB / 467.3 MB, free: 25.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.3813, allocations: 1.298 MB / 468.6 MB, free: 24.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005615/0.3818, allocations: 207.8 kB / 468.8 MB, free: 23.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.382, allocations: 60.17 kB / 468.9 MB, free: 23.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.382, allocations: 3 kB / 468.9 MB, free: 23.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.382, allocations: 43.53 kB / 468.9 MB, free: 23.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.382, allocations: 0 / 468.9 MB, free: 23.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009184/0.383, allocations: 422.5 kB / 469.4 MB, free: 23.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.383, allocations: 79.61 kB / 469.4 MB, free: 23.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.3832, allocations: 205.5 kB / 469.6 MB, free: 23.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.3832, allocations: 27.14 kB / 469.7 MB, free: 23.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.74e-05/0.3833, allocations: 160.9 kB / 469.8 MB, free: 23.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.3834, allocations: 45.92 kB / 469.9 MB, free: 23.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/0.3834, allocations: 5.25 kB / 469.9 MB, free: 23.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.159e-05/0.3835, allocations: 336.8 kB / 470.2 MB, free: 22.83 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.637e-05/0.3836, allocations: 56.25 kB / 470.3 MB, free: 22.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.3837, allocations: 151.9 kB / 470.4 MB, free: 22.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.3839, allocations: 78.3 kB / 470.5 MB, free: 22.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3839, allocations: 1.438 kB / 470.5 MB, free: 22.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004217/0.3843, allocations: 267.5 kB / 470.7 MB, free: 22.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3843, allocations: 6.25 kB / 470.7 MB, free: 22.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.3843, allocations: 4.125 kB / 470.8 MB, free: 22.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002337/0.3846, allocations: 38.61 kB / 470.8 MB, free: 22.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.3847, allocations: 45.86 kB / 470.8 MB, free: 22.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000955/0.3857, allocations: 1.34 MB / 472.2 MB, free: 21.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.3858, allocations: 10.08 kB / 472.2 MB, free: 21.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.3859, allocations: 9.688 kB / 472.2 MB, free: 21.16 MB / 350.1 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.0001492/0.386, allocations: 164.8 kB / 472.4 MB, free: 21.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.11e-05/0.3861, allocations: 20.44 kB / 472.4 MB, free: 21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003922/0.3865, allocations: 186.8 kB / 472.6 MB, free: 20.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3865, allocations: 6.156 kB / 472.6 MB, free: 20.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.3865, allocations: 1.953 kB / 472.6 MB, free: 20.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.056e-06/0.3865, allocations: 1.859 kB / 472.6 MB, free: 20.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009336/0.3875, allocations: 0.5547 MB / 473.1 MB, free: 20.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3875, allocations: 5.25 kB / 473.1 MB, free: 20.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.632e-05/0.3876, allocations: 24.61 kB / 473.1 MB, free: 20.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001434/0.3877, allocations: 35.38 kB / 473.2 MB, free: 20.46 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.3878, allocations: 6.625 kB / 473.2 MB, free: 20.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008966/0.3887, allocations: 1.323 MB / 474.5 MB, free: 19.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3887, allocations: 1.188 kB / 474.5 MB, free: 19.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004048/0.3891, allocations: 304 kB / 474.8 MB, free: 18.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.3891, allocations: 90.5 kB / 474.9 MB, free: 18.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.3892, allocations: 3.516 kB / 474.9 MB, free: 18.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3893, allocations: 7.703 kB / 474.9 MB, free: 18.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.3894, allocations: 14.69 kB / 474.9 MB, free: 18.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.3894, allocations: 4.203 kB / 474.9 MB, free: 18.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.3895, allocations: 147.6 kB / 475.1 MB, free: 18.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3895, allocations: 0 / 475.1 MB, free: 18.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004592/0.39, allocations: 48.12 kB / 475.1 MB, free: 18.7 MB / 350.1 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.000547/0.3906, allocations: 0.8305 MB / 476 MB, free: 17.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004778/0.391, allocations: 279.3 kB / 476.2 MB, free: 17.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3911, allocations: 0 / 476.2 MB, free: 17.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.3913, allocations: 174 kB / 476.4 MB, free: 17.64 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.3917, allocations: 37.27 kB / 476.4 MB, free: 17.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.3936, allocations: 1.266 MB / 477.7 MB, free: 16.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.394, allocations: 0.762 MB / 478.5 MB, free: 16.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001632/0.3942, allocations: 40.48 kB / 478.5 MB, free: 16.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.3943, allocations: 55.72 kB / 478.6 MB, free: 16.03 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3943, allocations: 0 / 478.6 MB, free: 16.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0181/0.4124, allocations: 3.511 MB / 482.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/0.4126, allocations: 212.3 kB / 482.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.906/2.319, allocations: 5.031 kB / 482.3 MB, free: 14.64 MB / 350.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_ImpedanceTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest_res.mat does not exist to compare? outputFormat=mat