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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.002342/0.002342, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.785/1.785, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008655/0.0008653, allocations: 89.42 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1738/0.1738, allocations: 37.99 MB / 348 MB, free: 7.777 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.704e-05/1.708e-05, allocations: 4 kB / 410.7 MB, free: 46.85 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1031, allocations: 56.31 MB / 467 MB, free: 6.477 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4108/0.514, allocations: 93.25 MB / 0.5471 GB, free: 1.621 MB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/0.5144, allocations: 83.95 kB / 0.5472 GB, free: 1.539 MB / 379.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03287/0.5473, allocations: 13.09 MB / 0.56 GB, free: 4.301 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.5473, allocations: 0 / 0.56 GB, free: 4.301 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.758e-05/0.5474, allocations: 4 kB / 0.56 GB, free: 4.297 MB / 395.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.0008114/0.5482, allocations: 482.2 kB / 0.5604 GB, free: 3.781 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/0.5483, allocations: 15.95 kB / 0.5604 GB, free: 3.766 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009117/0.5492, allocations: 99.56 kB / 0.5605 GB, free: 3.668 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.5496, allocations: 267.2 kB / 0.5608 GB, free: 3.363 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.5496, allocations: 4 kB / 0.5608 GB, free: 3.359 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-05/0.5497, allocations: 15.91 kB / 0.5608 GB, free: 3.344 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003451/0.55, allocations: 184.4 kB / 0.561 GB, free: 3.164 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004281/0.5505, allocations: 286.3 kB / 0.5613 GB, free: 2.859 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.5505, allocations: 0 / 0.5613 GB, free: 2.859 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.5505, allocations: 0 / 0.5613 GB, free: 2.859 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.437e-05/0.5506, allocations: 23.98 kB / 0.5613 GB, free: 2.836 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.5524, allocations: 1.256 MB / 0.5625 GB, free: 1.492 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.5528, allocations: 149.2 kB / 0.5627 GB, free: 1.328 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.766e-05/0.5529, allocations: 53.77 kB / 0.5627 GB, free: 1.27 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.5529, allocations: 7.938 kB / 0.5627 GB, free: 1.262 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.553, allocations: 34.56 kB / 0.5627 GB, free: 1.219 MB / 395.1 MB Notification: Performance of pre-optimization done (n=13): time 1.342e-06/0.553, allocations: 0 / 0.5627 GB, free: 1.219 MB / 395.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007329/0.5537, allocations: 266 kB / 0.563 GB, free: 0.9492 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.5538, allocations: 77.11 kB / 0.5631 GB, free: 0.8555 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.554, allocations: 155.5 kB / 0.5632 GB, free: 0.6953 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.554, allocations: 25.7 kB / 0.5632 GB, free: 0.6641 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.5542, allocations: 167.8 kB / 0.5634 GB, free: 0.4961 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.5542, allocations: 47.3 kB / 0.5635 GB, free: 460 kB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-06/0.5542, allocations: 4 kB / 0.5635 GB, free: 456 kB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.5544, allocations: 326.8 kB / 0.5638 GB, free: 120 kB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-05/0.5545, allocations: 39.98 kB / 0.5638 GB, free: 80 kB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.5547, allocations: 140.8 kB / 0.5639 GB, free: 15.89 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.5548, allocations: 69.56 kB / 0.564 GB, free: 15.83 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5548, allocations: 4 kB / 0.564 GB, free: 15.82 MB / 411.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004159/0.5553, allocations: 234 kB / 0.5642 GB, free: 15.59 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.5553, allocations: 4 kB / 0.5642 GB, free: 15.58 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.5553, allocations: 4 kB / 0.5642 GB, free: 15.58 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002433/0.5556, allocations: 36.83 kB / 0.5643 GB, free: 15.54 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.5557, allocations: 44.3 kB / 0.5643 GB, free: 15.5 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.557, allocations: 1.287 MB / 0.5656 GB, free: 14.09 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.5572, allocations: 12.16 kB / 0.5656 GB, free: 14.08 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.5572, allocations: 12 kB / 0.5656 GB, free: 14.07 MB / 411.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 () * 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.0001157/0.5573, allocations: 112.8 kB / 0.5657 GB, free: 13.95 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003188/0.5577, allocations: 164 kB / 0.5659 GB, free: 13.79 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.5577, allocations: 15.81 kB / 0.5659 GB, free: 13.77 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003623/0.5581, allocations: 176.4 kB / 0.566 GB, free: 13.59 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.5581, allocations: 3.984 kB / 0.5661 GB, free: 13.59 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5581, allocations: 4 kB / 0.5661 GB, free: 13.58 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.5581, allocations: 7.922 kB / 0.5661 GB, free: 13.57 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007957/0.5589, allocations: 0.4942 MB / 0.5665 GB, free: 13.02 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.5589, allocations: 4 kB / 0.5665 GB, free: 13.02 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.842e-05/0.559, allocations: 23.98 kB / 0.5666 GB, free: 13 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001294/0.5592, allocations: 28.83 kB / 0.5666 GB, free: 12.96 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.5592, allocations: 7.938 kB / 0.5666 GB, free: 12.96 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009768/0.5602, allocations: 1.26 MB / 0.5678 GB, free: 11.58 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.5602, allocations: 8.031 kB / 0.5678 GB, free: 11.57 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004092/0.5606, allocations: 331 kB / 0.5682 GB, free: 11.2 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.309e-05/0.5607, allocations: 93.02 kB / 0.5682 GB, free: 11.09 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.5607, allocations: 3.984 kB / 0.5683 GB, free: 11.08 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.393e-05/0.5608, allocations: 4 kB / 0.5683 GB, free: 11.08 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.679e-05/0.5609, allocations: 7.984 kB / 0.5683 GB, free: 11.07 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.5609, allocations: 8 kB / 0.5683 GB, free: 11.06 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001417/0.561, allocations: 128.3 kB / 0.5684 GB, free: 10.94 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.519e-06/0.5611, allocations: 0 / 0.5684 GB, free: 10.94 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0004064/0.5615, allocations: 55.88 kB / 0.5684 GB, free: 10.88 MB / 411.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 () * 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.001047/0.5625, allocations: 1.133 MB / 0.5696 GB, free: 9.695 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0005848/0.5631, allocations: 250.1 kB / 0.5698 GB, free: 9.441 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5631, allocations: 128 / 0.5698 GB, free: 9.441 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.5634, allocations: 169.7 kB / 0.57 GB, free: 9.266 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.5637, allocations: 20.17 kB / 0.57 GB, free: 9.246 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008459/0.5645, allocations: 350.4 kB / 0.5703 GB, free: 8.852 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005424/0.5651, allocations: 0.7677 MB / 0.5711 GB, free: 8.059 MB / 411.1 MB Notification: Performance of simCode: alias equations: time 0.0001366/0.5652, allocations: 37.81 kB / 0.5711 GB, free: 8.02 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.5654, allocations: 67.41 kB / 0.5712 GB, free: 7.953 MB / 411.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5654, allocations: 0 / 0.5712 GB, free: 7.953 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.5922, allocations: 2.993 MB / 0.5741 GB, free: 4.961 MB / 411.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002334/0.5925, allocations: 146 kB / 0.5742 GB, free: 4.766 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/2.208, allocations: 0 / 0.5742 GB, free: 4.766 MB / 411.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) 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