Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.FixedCurrentTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedCurrentTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedCurrentTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedCurrentTest",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.001026/0.001026, allocations: 91.48 kB / 16.3 MB, free: 6.457 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.001039/0.001039, allocations: 180.6 kB / 17.2 MB, free: 6.34 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.234/1.234, allocations: 223.2 MB / 241.1 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.282/0.282, allocations: 38.07 MB / 330.3 MB, free: 14.26 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002993/0.0002994, allocations: 8 kB / 400 MB, free: 9.215 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2474, allocations: 59.16 MB / 459.2 MB, free: 30 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.003593/0.251, allocations: 3.123 MB / 462.3 MB, free: 27.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.2529, allocations: 1.404 MB / 463.7 MB, free: 26.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.2531, allocations: 11.12 kB / 463.8 MB, free: 26.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.2533, allocations: 44.11 kB / 463.8 MB, free: 26.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005191/0.2538, allocations: 169.4 kB / 464 MB, free: 26.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.2541, allocations: 104.7 kB / 464.1 MB, free: 26.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000293/0.2544, allocations: 163.6 kB / 464.2 MB, free: 26.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006997/0.2551, allocations: 316.4 kB / 464.5 MB, free: 26.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.2554, allocations: 94 kB / 464.6 MB, free: 26.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.2555, allocations: 88.64 kB / 464.7 MB, free: 26.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.2556, allocations: 8.125 kB / 464.7 MB, free: 26.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004235/0.256, allocations: 167.6 kB / 464.9 MB, free: 26.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.2561, allocations: 81.61 kB / 465 MB, free: 26.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.06e-05/0.2562, allocations: 69.25 kB / 465 MB, free: 26.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004162/0.2566, allocations: 251.1 kB / 465.3 MB, free: 26.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2567, allocations: 0 / 465.3 MB, free: 26.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.594e-06/0.2567, allocations: 0 / 465.3 MB, free: 26.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.2567, allocations: 1.156 kB / 465.3 MB, free: 26.04 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.0006351/0.2573, allocations: 481.9 kB / 465.7 MB, free: 25.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.2574, allocations: 9.062 kB / 465.8 MB, free: 25.6 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.864e-05/0.2574, allocations: 58.09 kB / 465.8 MB, free: 25.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009189/0.2584, allocations: 107.4 kB / 465.9 MB, free: 25.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.2587, allocations: 256.9 kB / 466.2 MB, free: 25.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.2587, allocations: 27.8 kB / 466.2 MB, free: 25.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.537e-05/0.2587, allocations: 18.72 kB / 466.2 MB, free: 25.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005031/0.2593, allocations: 312.3 kB / 466.5 MB, free: 25.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.2593, allocations: 5.406 kB / 466.5 MB, free: 25.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.2593, allocations: 6.656 kB / 466.5 MB, free: 25.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.186e-05/0.2594, allocations: 20.42 kB / 466.5 MB, free: 25.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004427/0.2598, allocations: 284.2 kB / 466.8 MB, free: 25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001582/0.2614, allocations: 1.274 MB / 468.1 MB, free: 24.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000414/0.2618, allocations: 228.9 kB / 468.3 MB, free: 23.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.2619, allocations: 2.688 kB / 468.3 MB, free: 23.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.2619, allocations: 32.39 kB / 468.4 MB, free: 23.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.482e-06/0.2619, allocations: 1.125 kB / 468.4 MB, free: 23.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007748/0.2627, allocations: 448.6 kB / 468.8 MB, free: 23.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.036e-05/0.2627, allocations: 79.5 kB / 468.9 MB, free: 23.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.2629, allocations: 204.4 kB / 469.1 MB, free: 23.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.2629, allocations: 31.14 kB / 469.1 MB, free: 23.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.218e-05/0.263, allocations: 152.7 kB / 469.3 MB, free: 23.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/0.2631, allocations: 59.03 kB / 469.3 MB, free: 23.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.849e-06/0.2631, allocations: 5.344 kB / 469.3 MB, free: 23.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.844e-05/0.2631, allocations: 329.5 kB / 469.6 MB, free: 22.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.2633, allocations: 87.97 kB / 469.7 MB, free: 22.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.2634, allocations: 152 kB / 469.9 MB, free: 22.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.2636, allocations: 115.2 kB / 470 MB, free: 22.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.2636, allocations: 1.25 kB / 470 MB, free: 22.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003874/0.264, allocations: 289.2 kB / 470.3 MB, free: 22.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.264, allocations: 7.672 kB / 470.3 MB, free: 22.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.2641, allocations: 5.469 kB / 470.3 MB, free: 22.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.2641, allocations: 4.875 kB / 470.3 MB, free: 22.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.2643, allocations: 53.7 kB / 470.3 MB, free: 22.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.2643, allocations: 15.09 kB / 470.4 MB, free: 22.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.2645, allocations: 18.56 kB / 470.4 MB, free: 22.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.2645, allocations: 12.77 kB / 470.4 MB, free: 22.58 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 27 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.2646, allocations: 156.5 kB / 470.5 MB, free: 22.44 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.2647, allocations: 16.14 kB / 470.6 MB, free: 22.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/0.265, allocations: 229.4 kB / 470.8 MB, free: 22.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.2651, allocations: 2.469 kB / 470.8 MB, free: 22.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2651, allocations: 1.359 kB / 470.8 MB, free: 22.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.2651, allocations: 5.719 kB / 470.8 MB, free: 22.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.2663, allocations: 0.9494 MB / 471.7 MB, free: 21.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.2663, allocations: 4.375 kB / 471.7 MB, free: 21.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.2665, allocations: 35.73 kB / 471.8 MB, free: 21.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.2665, allocations: 6.031 kB / 471.8 MB, free: 21.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.2665, allocations: 10.73 kB / 471.8 MB, free: 21.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.2665, allocations: 6.125 kB / 471.8 MB, free: 21.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.2665, allocations: 8.281 kB / 471.8 MB, free: 21.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004182/0.267, allocations: 0.5993 MB / 472.4 MB, free: 21.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.383e-05/0.267, allocations: 97.69 kB / 472.5 MB, free: 20.95 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.2671, allocations: 15.56 kB / 472.5 MB, free: 20.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.2672, allocations: 9.531 kB / 472.5 MB, free: 20.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.2673, allocations: 29.33 kB / 472.6 MB, free: 20.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.2673, allocations: 8.828 kB / 472.6 MB, free: 20.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.2674, allocations: 152.7 kB / 472.7 MB, free: 20.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2674, allocations: 1.031 kB / 472.7 MB, free: 20.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003762/0.2678, allocations: 49.53 kB / 472.8 MB, free: 20.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007665/0.2686, allocations: 2.235 MB / 475 MB, free: 18.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004028/0.269, allocations: 214.2 kB / 475.2 MB, free: 18.52 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.269, allocations: 1.219 kB / 475.2 MB, free: 18.52 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.2692, allocations: 101.8 kB / 475.3 MB, free: 18.49 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.2695, allocations: 35.56 kB / 475.3 MB, free: 18.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.2717, allocations: 2.787 MB / 478.1 MB, free: 16.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.2721, allocations: 0.7691 MB / 478.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.2723, allocations: 56.16 kB / 479 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.2724, allocations: 62.7 kB / 479 MB, free: 15.42 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2724, allocations: 0 / 479 MB, free: 15.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2261/0.4985, allocations: 3.686 MB / 482.7 MB, free: 14.31 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/0.4987, allocations: 194.8 kB / 482.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.088, allocations: 1.062 kB / 482.9 MB, free: 14.07 MB / 350.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedCurrentTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedCurrentTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedCurrentTest_res.mat does not exist to compare? outputFormat=mat