Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.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.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",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.0008803/0.0008804, allocations: 93.42 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.0008527/0.0008526, allocations: 182 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.248/1.248, allocations: 223.2 MB / 241.1 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2881/0.2881, allocations: 38.08 MB / 330.3 MB, free: 14.27 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003117, allocations: 12 kB / 400.1 MB, free: 9.207 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2528, allocations: 59.16 MB / 459.2 MB, free: 30.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.003916/0.2568, allocations: 4.169 MB / 463.4 MB, free: 27.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002698/0.2595, allocations: 2.44 MB / 465.8 MB, free: 25.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002126/0.2598, allocations: 25.28 kB / 465.8 MB, free: 25.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003188/0.2601, allocations: 86.05 kB / 465.9 MB, free: 25.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005376/0.2606, allocations: 262.4 kB / 466.2 MB, free: 25.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006612/0.2613, allocations: 303.7 kB / 466.5 MB, free: 25.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003811/0.2617, allocations: 323.2 kB / 466.8 MB, free: 24.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000473/0.2622, allocations: 301 kB / 467.1 MB, free: 24.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003659/0.2626, allocations: 192.8 kB / 467.3 MB, free: 24.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.2628, allocations: 164.6 kB / 467.4 MB, free: 24.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.953e-05/0.2629, allocations: 16.41 kB / 467.5 MB, free: 24.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004977/0.2634, allocations: 262.5 kB / 467.7 MB, free: 24.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.2635, allocations: 104.9 kB / 467.8 MB, free: 24.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.492e-05/0.2636, allocations: 88.92 kB / 467.9 MB, free: 24.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006691/0.2643, allocations: 0.4997 MB / 468.4 MB, free: 24.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.2643, allocations: 0 / 468.4 MB, free: 24.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.2643, allocations: 0 / 468.4 MB, free: 24.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.2643, allocations: 0 / 468.4 MB, free: 24.25 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001114/0.2654, allocations: 0.7131 MB / 469.1 MB, free: 23.67 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.2654, allocations: 9.469 kB / 469.1 MB, free: 23.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.339e-05/0.2655, allocations: 65.7 kB / 469.2 MB, free: 23.61 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.2666, allocations: 119.1 kB / 469.3 MB, free: 23.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005206/0.2671, allocations: 405.9 kB / 469.7 MB, free: 23.28 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.2671, allocations: 22.36 kB / 469.7 MB, free: 23.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.655e-05/0.2672, allocations: 24.86 kB / 469.7 MB, free: 23.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007967/0.268, allocations: 459 kB / 470.2 MB, free: 23.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.268, allocations: 0 / 470.2 MB, free: 23.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.682e-05/0.2681, allocations: 8.828 kB / 470.2 MB, free: 23.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.49e-05/0.2681, allocations: 26.91 kB / 470.2 MB, free: 23.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.2691, allocations: 0.5034 MB / 470.7 MB, free: 22.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.2709, allocations: 1.775 MB / 472.5 MB, free: 21.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009291/0.2719, allocations: 409.8 kB / 472.9 MB, free: 21.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/0.2719, allocations: 10.53 kB / 472.9 MB, free: 21.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004874/0.2724, allocations: 289.4 kB / 473.2 MB, free: 21.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.533e-06/0.2724, allocations: 0 / 473.2 MB, free: 21.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.001238/0.2737, allocations: 0.543 MB / 473.7 MB, free: 21.01 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.2737, allocations: 250.5 kB / 474 MB, free: 20.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003931/0.2741, allocations: 358.1 kB / 474.3 MB, free: 20.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.2742, allocations: 34.44 kB / 474.4 MB, free: 20.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.2743, allocations: 205.3 kB / 474.6 MB, free: 20.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.683e-05/0.2744, allocations: 107.3 kB / 474.7 MB, free: 20.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.707e-05/0.2744, allocations: 6.75 kB / 474.7 MB, free: 20.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.264e-05/0.2745, allocations: 348 kB / 475 MB, free: 19.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003501/0.2748, allocations: 154.6 kB / 475.2 MB, free: 19.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004093/0.2753, allocations: 287.9 kB / 475.5 MB, free: 19.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/0.2757, allocations: 214.2 kB / 475.7 MB, free: 19.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.157e-06/0.2757, allocations: 5.375 kB / 475.7 MB, free: 19.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001006/0.2767, allocations: 0.5382 MB / 476.2 MB, free: 19.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/0.2767, allocations: 38.47 kB / 476.2 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/0.2768, allocations: 8.328 kB / 476.3 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.2768, allocations: 7.438 kB / 476.3 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003471/0.2771, allocations: 96.11 kB / 476.4 MB, free: 19.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.57e-05/0.2772, allocations: 11.09 kB / 476.4 MB, free: 19.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002926/0.2775, allocations: 58.27 kB / 476.4 MB, free: 19.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.2775, allocations: 19.48 kB / 476.4 MB, free: 19.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.windFarm.wind.nextTimeEvent,$whenCondition1,windFarm.wind.nextTimeEvent,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.disturbance.T_start,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.count,windFarm.disturbance.count,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * 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.0002056/0.2777, allocations: 194.9 kB / 476.6 MB, free: 19.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.2778, allocations: 39.02 kB / 476.7 MB, free: 19.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.2779, allocations: 48.94 kB / 476.7 MB, free: 19.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.2779, allocations: 8.781 kB / 476.7 MB, free: 19.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.2779, allocations: 2.75 kB / 476.7 MB, free: 19.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.2779, allocations: 2.922 kB / 476.7 MB, free: 19.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007097/0.2786, allocations: 0.8513 MB / 477.6 MB, free: 18.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.2787, allocations: 1.625 kB / 477.6 MB, free: 18.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000253/0.2789, allocations: 74.17 kB / 477.7 MB, free: 18.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.2789, allocations: 3.656 kB / 477.7 MB, free: 18.3 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.279, allocations: 12.36 kB / 477.7 MB, free: 18.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.279, allocations: 3.344 kB / 477.7 MB, free: 18.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.279, allocations: 1.438 kB / 477.7 MB, free: 18.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008237/0.2798, allocations: 0.5381 MB / 478.2 MB, free: 17.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.679e-05/0.2799, allocations: 123.6 kB / 478.3 MB, free: 17.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-05/0.2799, allocations: 15.69 kB / 478.4 MB, free: 17.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.2802, allocations: 29.23 kB / 478.4 MB, free: 17.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.2803, allocations: 35.27 kB / 478.4 MB, free: 17.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.2803, allocations: 24.17 kB / 478.4 MB, free: 17.8 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002101/0.2805, allocations: 249.8 kB / 478.7 MB, free: 17.65 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2805, allocations: 3.938 kB / 478.7 MB, free: 17.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004247/0.2809, allocations: 86.47 kB / 478.8 MB, free: 17.63 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,$whenCondition2,$whenCondition1,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled,windFarm.disturbance.T_start,windFarm.disturbance.count) * Number of discrete states: 3 (windFarm.wind.nextTimeEventScaled,windFarm.disturbance.count,windFarm.wind.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00196/0.2829, allocations: 1.862 MB / 480.6 MB, free: 16.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008107/0.2837, allocations: 436.9 kB / 481.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2837, allocations: 0 / 481.1 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003714/0.2841, allocations: 199.6 kB / 481.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.2845, allocations: 66.8 kB / 481.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.2883, allocations: 5.042 MB / 486.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.2885, allocations: 0.8195 MB / 487.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002501/0.2888, allocations: 90.95 kB / 487.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.2889, allocations: 124 kB / 487.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of SimCode: time 6.92e-07/0.2889, allocations: 0 / 487.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.3065, allocations: 7.759 MB / 495.2 MB, free: 3.516 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/0.3067, allocations: 232.8 kB / 495.4 MB, free: 3.277 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/2.04, allocations: 0 / 495.4 MB, free: 3.277 MB / 350.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest.fmu > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.mat does not exist to compare? outputFormat=mat