Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Generic.Network.NetworkLoop_d,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d",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.00118/0.00118, allocations: 94.17 kB / 16.3 MB, free: 5.996 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.001548/0.001548, allocations: 182.6 kB / 17.2 MB, free: 5.914 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.298/1.298, allocations: 223.2 MB / 241.1 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.319/0.319, allocations: 38.07 MB / 330.3 MB, free: 14.24 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003273/0.0003273, allocations: 12 kB / 400.1 MB, free: 9.199 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2971, allocations: 59.17 MB / 459.2 MB, free: 30.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.005766/0.3029, allocations: 6.611 MB / 465.8 MB, free: 25.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004516/0.3075, allocations: 3.771 MB / 469.6 MB, free: 23.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005525/0.3081, allocations: 16.41 kB / 469.6 MB, free: 23.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003686/0.3084, allocations: 146.9 kB / 469.8 MB, free: 23.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00172/0.3102, allocations: 0.5474 MB / 470.3 MB, free: 22.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006679/0.3108, allocations: 222.8 kB / 470.5 MB, free: 22.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007252/0.3116, allocations: 0.5589 MB / 471.1 MB, free: 22.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004194/0.312, allocations: 325.2 kB / 471.4 MB, free: 22.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004889/0.3125, allocations: 352.5 kB / 471.7 MB, free: 22.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000371/0.3129, allocations: 289.1 kB / 472 MB, free: 21.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.669e-05/0.3129, allocations: 20.06 kB / 472 MB, free: 21.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.314, allocations: 447.2 kB / 472.5 MB, free: 21.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.3143, allocations: 221.7 kB / 472.7 MB, free: 21.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.3144, allocations: 108.4 kB / 472.8 MB, free: 21.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008278/0.3152, allocations: 0.5759 MB / 473.4 MB, free: 21.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.3152, allocations: 0 / 473.4 MB, free: 21.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3153, allocations: 0 / 473.4 MB, free: 21.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.3153, allocations: 5.188 kB / 473.4 MB, free: 21.5 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.0009199/0.3162, allocations: 0.7262 MB / 474.1 MB, free: 20.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3162, allocations: 8.969 kB / 474.1 MB, free: 20.92 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.547e-05/0.3163, allocations: 83 kB / 474.2 MB, free: 20.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001598/0.3179, allocations: 140 kB / 474.3 MB, free: 20.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.3184, allocations: 316.8 kB / 474.6 MB, free: 20.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/0.3184, allocations: 32.8 kB / 474.7 MB, free: 20.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.251e-05/0.3185, allocations: 38.2 kB / 474.7 MB, free: 20.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007845/0.3193, allocations: 0.5867 MB / 475.3 MB, free: 20.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.3193, allocations: 1.906 kB / 475.3 MB, free: 20.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.906e-05/0.3193, allocations: 25.25 kB / 475.3 MB, free: 20.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.835e-05/0.3194, allocations: 31.34 kB / 475.4 MB, free: 20.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005392/0.3199, allocations: 382.6 kB / 475.7 MB, free: 20.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.322, allocations: 2.61 MB / 478.3 MB, free: 17.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005773/0.3225, allocations: 424.8 kB / 478.8 MB, free: 17.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.3226, allocations: 7.438 kB / 478.8 MB, free: 17.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.3226, allocations: 41.06 kB / 478.8 MB, free: 17.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.3226, allocations: 0 / 478.8 MB, free: 17.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001534/0.3241, allocations: 0.7472 MB / 479.6 MB, free: 17.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.3242, allocations: 115.1 kB / 479.7 MB, free: 16.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002897/0.3245, allocations: 321.1 kB / 480 MB, free: 16.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.3245, allocations: 30.86 kB / 480 MB, free: 16.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.3247, allocations: 247.9 kB / 480.3 MB, free: 16.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.352e-05/0.3247, allocations: 126.5 kB / 480.4 MB, free: 16.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.56e-05/0.3248, allocations: 10.22 kB / 480.4 MB, free: 16.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.3248, allocations: 344.3 kB / 480.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.325, allocations: 130.5 kB / 480.9 MB, free: 15.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.3252, allocations: 272.9 kB / 481.1 MB, free: 15.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.3255, allocations: 180.7 kB / 481.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3255, allocations: 1.344 kB / 481.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000701/0.3262, allocations: 0.5563 MB / 481.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.3262, allocations: 7.188 kB / 481.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3262, allocations: 8.906 kB / 481.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003127/0.3266, allocations: 119 kB / 482 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002409/0.3268, allocations: 78.36 kB / 482.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.3289, allocations: 2.383 MB / 484.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.3291, allocations: 44.25 kB / 484.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.3292, allocations: 23.17 kB / 484.5 MB, free: 13.13 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001931/0.3294, allocations: 198.9 kB / 484.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.499e-05/0.3295, allocations: 40.92 kB / 484.7 MB, free: 12.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.12e-05/0.3295, allocations: 49.98 kB / 484.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.3295, allocations: 4.469 kB / 484.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.3296, allocations: 3.25 kB / 484.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3296, allocations: 0 / 484.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.3307, allocations: 0.9355 MB / 485.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3307, allocations: 1.219 kB / 485.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.3308, allocations: 39.62 kB / 485.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002235/0.3311, allocations: 111.5 kB / 485.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.3311, allocations: 7.125 kB / 485.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.333, allocations: 2.372 MB / 488.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.333, allocations: 0 / 488.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005619/0.3336, allocations: 0.6684 MB / 488.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.572e-05/0.3336, allocations: 120.6 kB / 489 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.3337, allocations: 11.98 kB / 489.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.3339, allocations: 8 kB / 489.1 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.3339, allocations: 31.86 kB / 489.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.3339, allocations: 8 kB / 489.1 MB, free: 9.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001719/0.3341, allocations: 223 kB / 489.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.3341, allocations: 0 / 489.3 MB, free: 8.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006438/0.3348, allocations: 163.6 kB / 489.5 MB, free: 8.793 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 (20): * Single equations (assignments): 18 * 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%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007559/0.3355, allocations: 1.477 MB / 491 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006826/0.3362, allocations: 0.515 MB / 491.5 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3362, allocations: 4 kB / 491.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003353/0.3366, allocations: 334.6 kB / 491.8 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.337, allocations: 56.22 kB / 491.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00298/0.34, allocations: 5.614 MB / 497.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.3404, allocations: 0.9019 MB / 498.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001752/0.3405, allocations: 70.91 kB / 498.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.3407, allocations: 111.4 kB / 498.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3407, allocations: 0 / 498.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.3619, allocations: 6.883 MB / 0.4936 GB, free: 8.73 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002441/0.3622, allocations: 213.5 kB / 0.4938 GB, free: 8.488 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.793/2.155, allocations: 0 / 0.4938 GB, free: 8.488 MB / 366.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Generic_Network_NetworkLoop_d.fmu > PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.Generic.Network.NetworkLoop_d_res.mat does not exist to compare? outputFormat=mat