Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.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.FixedLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedLoadTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Test.FixedLoadTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedLoadTest",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.001214/0.001214, allocations: 95.94 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.001276/0.001277, allocations: 184.9 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.221/1.221, allocations: 223.2 MB / 241.1 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2794/0.2794, allocations: 38.08 MB / 330.3 MB, free: 14.21 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.0003358, allocations: 8 kB / 400.1 MB, free: 9.188 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2446, allocations: 59.15 MB / 459.2 MB, free: 30.42 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedLoadTest): time 0.003313/0.2479, allocations: 3.128 MB / 462.3 MB, free: 28.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001751/0.2497, allocations: 1.427 MB / 463.8 MB, free: 27.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.2499, allocations: 10.72 kB / 463.8 MB, free: 27.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.25, allocations: 40.38 kB / 463.8 MB, free: 27.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004798/0.2505, allocations: 177 kB / 464 MB, free: 27.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.2508, allocations: 101.6 kB / 464.1 MB, free: 27.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002884/0.2511, allocations: 161.9 kB / 464.2 MB, free: 26.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005894/0.2517, allocations: 319.8 kB / 464.6 MB, free: 26.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.2519, allocations: 107.9 kB / 464.7 MB, free: 26.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001894/0.2521, allocations: 83.31 kB / 464.7 MB, free: 26.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.331e-05/0.2521, allocations: 8.719 kB / 464.8 MB, free: 26.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003698/0.2525, allocations: 160.9 kB / 464.9 MB, free: 26.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.2526, allocations: 85.45 kB / 465 MB, free: 26.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.246e-05/0.2527, allocations: 61.58 kB / 465.1 MB, free: 26.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004051/0.2531, allocations: 248.4 kB / 465.3 MB, free: 26.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2531, allocations: 0 / 465.3 MB, free: 26.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2531, allocations: 0.9688 kB / 465.3 MB, free: 26.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.2531, allocations: 4 kB / 465.3 MB, free: 26.44 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.0006822/0.2538, allocations: 485.7 kB / 465.8 MB, free: 26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.018e-05/0.2539, allocations: 9.594 kB / 465.8 MB, free: 26 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.059e-05/0.254, allocations: 50.94 kB / 465.8 MB, free: 25.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.255, allocations: 117.5 kB / 466 MB, free: 25.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003319/0.2554, allocations: 262.5 kB / 466.2 MB, free: 25.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.2554, allocations: 19.84 kB / 466.2 MB, free: 25.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.346e-05/0.2554, allocations: 16.16 kB / 466.2 MB, free: 25.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006429/0.2561, allocations: 325.1 kB / 466.6 MB, free: 25.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.2561, allocations: 5 kB / 466.6 MB, free: 25.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.2562, allocations: 6.156 kB / 466.6 MB, free: 25.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.163e-05/0.2562, allocations: 15.17 kB / 466.6 MB, free: 25.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005733/0.2568, allocations: 308.4 kB / 466.9 MB, free: 25.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.2587, allocations: 1.266 MB / 468.2 MB, free: 24.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.259, allocations: 164.4 kB / 468.3 MB, free: 24.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.259, allocations: 5.406 kB / 468.3 MB, free: 24.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.259, allocations: 32.92 kB / 468.4 MB, free: 24.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.573e-06/0.259, allocations: 1.281 kB / 468.4 MB, free: 24.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001558/0.2606, allocations: 0.6659 MB / 469 MB, free: 23.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.2607, allocations: 84.09 kB / 469.1 MB, free: 23.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.2609, allocations: 190.6 kB / 469.3 MB, free: 23.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.2609, allocations: 31.33 kB / 469.3 MB, free: 23.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.883e-05/0.261, allocations: 155 kB / 469.5 MB, free: 23.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/0.261, allocations: 65.61 kB / 469.5 MB, free: 23.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.034e-05/0.2611, allocations: 5.031 kB / 469.5 MB, free: 23.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.431e-05/0.2611, allocations: 331.7 kB / 469.9 MB, free: 23.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.2613, allocations: 82.41 kB / 469.9 MB, free: 23.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.2614, allocations: 156 kB / 470.1 MB, free: 23.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.2616, allocations: 101.8 kB / 470.2 MB, free: 23.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2616, allocations: 1.281 kB / 470.2 MB, free: 23.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005729/0.2622, allocations: 353.1 kB / 470.5 MB, free: 22.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.2622, allocations: 8.656 kB / 470.5 MB, free: 22.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2622, allocations: 3.656 kB / 470.6 MB, free: 22.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003708/0.2626, allocations: 97.81 kB / 470.6 MB, free: 22.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.2628, allocations: 43.31 kB / 470.7 MB, free: 22.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.2649, allocations: 2.032 MB / 472.7 MB, free: 21.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.265, allocations: 16.06 kB / 472.7 MB, free: 21.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.2651, allocations: 9.406 kB / 472.7 MB, free: 21.14 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 (21): * Single equations (assignments): 20 * 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: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.2652, allocations: 152.1 kB / 472.9 MB, free: 21.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-05/0.2653, allocations: 15.5 kB / 472.9 MB, free: 21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000592/0.2659, allocations: 324.9 kB / 473.2 MB, free: 20.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2659, allocations: 1.969 kB / 473.2 MB, free: 20.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.2659, allocations: 1.578 kB / 473.2 MB, free: 20.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2659, allocations: 1.828 kB / 473.2 MB, free: 20.86 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.267, allocations: 0.807 MB / 474 MB, free: 20.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.267, allocations: 2.125 kB / 474 MB, free: 20.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.2672, allocations: 28.22 kB / 474.1 MB, free: 20.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002646/0.2674, allocations: 74.91 kB / 474.1 MB, free: 20.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.2675, allocations: 7.578 kB / 474.1 MB, free: 20.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/0.2691, allocations: 1.858 MB / 476 MB, free: 18.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2691, allocations: 3.938 kB / 476 MB, free: 18.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005606/0.2697, allocations: 443.2 kB / 476.4 MB, free: 18.4 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/0.2697, allocations: 93.25 kB / 476.5 MB, free: 18.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.2698, allocations: 10.38 kB / 476.5 MB, free: 18.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.2699, allocations: 10.36 kB / 476.6 MB, free: 18.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.2699, allocations: 20.42 kB / 476.6 MB, free: 18.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.27, allocations: 10.16 kB / 476.6 MB, free: 18.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001255/0.2701, allocations: 141.9 kB / 476.7 MB, free: 18.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2701, allocations: 0 / 476.7 MB, free: 18.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005021/0.2706, allocations: 64.5 kB / 476.8 MB, free: 18.18 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 14 * 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: 0 * Non-linear torn systems: 1 {2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008454/0.2715, allocations: 1.178 MB / 478 MB, free: 17.13 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007383/0.2722, allocations: 382.6 kB / 478.3 MB, free: 16.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2722, allocations: 0 / 478.3 MB, free: 16.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004787/0.2727, allocations: 260.9 kB / 478.6 MB, free: 16.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.273, allocations: 35.3 kB / 478.6 MB, free: 16.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002738/0.2758, allocations: 2.782 MB / 481.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.2761, allocations: 0.7804 MB / 482.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.2762, allocations: 32.22 kB / 482.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.776e-05/0.2763, allocations: 60.59 kB / 482.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2763, allocations: 0.9688 kB / 482.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2252/0.5015, allocations: 4.717 MB / 487 MB, free: 11.42 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001403/0.5017, allocations: 211.4 kB / 487.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/2.161, allocations: 0 / 487.2 MB, free: 11.18 MB / 350.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedLoadTest_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Test_FixedLoadTest.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Test.FixedLoadTest_res.mat does not exist to compare? outputFormat=mat