Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-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(PowerSysPro.Examples.BreakerTests.Islanding1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1",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.001426/0.001426, allocations: 107 kB / 16.03 MB, free: 6.273 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.001449/0.00145, allocations: 193.7 kB / 16.95 MB, free: 6.098 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.32/1.32, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04328/0.04328, allocations: 8.092 MB / 298.9 MB, free: 6.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 59.91 kB / 361.3 MB, free: 8.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1638, allocations: 51.51 MB / 412.8 MB, free: 25.76 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.003015/0.1669, allocations: 3.625 MB / 416.5 MB, free: 22.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.1679, allocations: 0.9651 MB / 417.4 MB, free: 21.15 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.168, allocations: 8 kB / 417.4 MB, free: 21.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.1683, allocations: 143.3 kB / 417.6 MB, free: 21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003562/0.1687, allocations: 218.8 kB / 417.8 MB, free: 20.79 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo:34:7-34:67:writable] Warning: In relation pv.rampTime == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.1702, allocations: 1.156 MB / 418.9 MB, free: 19.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003157/0.1705, allocations: 497.6 kB / 419.4 MB, free: 19.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.1707, allocations: 170.6 kB / 419.6 MB, free: 18.97 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.1708, allocations: 199.3 kB / 419.8 MB, free: 18.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.171, allocations: 278.9 kB / 420.1 MB, free: 18.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.353e-05/0.1711, allocations: 43.98 kB / 420.1 MB, free: 18.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003059/0.1714, allocations: 279.7 kB / 420.4 MB, free: 18.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.166e-05/0.1715, allocations: 95.61 kB / 420.5 MB, free: 18.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.1716, allocations: 238.8 kB / 420.7 MB, free: 17.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004474/0.172, allocations: 0.6543 MB / 421.4 MB, free: 17.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1721, allocations: 0 / 421.4 MB, free: 17.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1721, allocations: 0 / 421.4 MB, free: 17.2 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1721, allocations: 4 kB / 421.4 MB, free: 17.2 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003996/0.1761, allocations: 1.373 MB / 422.7 MB, free: 15.77 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.1761, allocations: 15.89 kB / 422.8 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.559e-05/0.1762, allocations: 78.72 kB / 422.8 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.934e-05/0.1763, allocations: 52.38 kB / 422.9 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.1766, allocations: 343.3 kB / 423.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.1766, allocations: 63.27 kB / 423.3 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.797e-05/0.1767, allocations: 40.38 kB / 423.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006675/0.1774, allocations: 0.5726 MB / 423.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1774, allocations: 0 / 423.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.374e-05/0.1774, allocations: 16 kB / 423.9 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.1774, allocations: 15.94 kB / 423.9 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005812/0.178, allocations: 0.5115 MB / 424.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.18, allocations: 2.238 MB / 426.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008651/0.1808, allocations: 0.757 MB / 427.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003598/0.1812, allocations: 350.5 kB / 427.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.742e-05/0.1813, allocations: 20.47 kB / 427.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005027/0.1818, allocations: 411 kB / 428.2 MB, free: 9.977 MB / 302.1 MB Notification: Performance of pre-optimization done (n=61): time 1.633e-06/0.1818, allocations: 0 / 428.2 MB, free: 9.977 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.006278/0.1881, allocations: 2.108 MB / 430.3 MB, free: 7.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.1881, allocations: 85.67 kB / 430.4 MB, free: 7.738 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.1883, allocations: 286.8 kB / 430.7 MB, free: 7.449 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.505e-05/0.1884, allocations: 41.7 kB / 430.7 MB, free: 7.402 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.1884, allocations: 173.5 kB / 430.9 MB, free: 7.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.404e-05/0.1885, allocations: 208.9 kB / 431.1 MB, free: 7.023 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.1887, allocations: 122.7 kB / 431.2 MB, free: 6.898 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.735e-05/0.1888, allocations: 346.8 kB / 431.5 MB, free: 6.551 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003879/0.1891, allocations: 345.9 kB / 431.9 MB, free: 6.215 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.1896, allocations: 402 kB / 432.3 MB, free: 5.809 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008237/0.1904, allocations: 0.7578 MB / 433 MB, free: 5.043 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1904, allocations: 0 / 433 MB, free: 5.043 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002819/0.1932, allocations: 1.356 MB / 434.4 MB, free: 3.676 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.1933, allocations: 8 kB / 434.4 MB, free: 3.668 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1933, allocations: 3.984 kB / 434.4 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002754/0.196, allocations: 0.6805 MB / 435.1 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003355/0.1964, allocations: 99.83 kB / 435.2 MB, free: 2.883 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04077/0.2371, allocations: 4.338 MB / 439.5 MB, free: 14.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005087/0.2377, allocations: 55.38 kB / 439.6 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.468e-05/0.2378, allocations: 23.98 kB / 439.6 MB, free: 14.33 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,15)} Notification: Performance of prepare postOptimizeDAE: time 0.0002395/0.238, allocations: 173.7 kB / 439.8 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.2381, allocations: 39.44 kB / 439.8 MB, free: 14.11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003272/0.2414, allocations: 1.343 MB / 441.1 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.2414, allocations: 8 kB / 441.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.2414, allocations: 3.938 kB / 441.2 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.2414, allocations: 7.984 kB / 441.2 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00373/0.2452, allocations: 2.028 MB / 443.2 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2452, allocations: 0 / 443.2 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.2454, allocations: 83.83 kB / 443.3 MB, free: 10.57 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002889/0.2483, allocations: 0.6708 MB / 443.9 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.714e-05/0.2484, allocations: 16 kB / 444 MB, free: 9.887 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006334/0.2547, allocations: 4.283 MB / 448.2 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.2548, allocations: 0 / 448.2 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003089/0.2579, allocations: 1.335 MB / 449.6 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.592e-05/0.258, allocations: 128.4 kB / 449.7 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.355e-05/0.258, allocations: 12 kB / 449.7 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003859/0.2584, allocations: 39.84 kB / 449.7 MB, free: 3.914 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.2586, allocations: 44.5 kB / 449.8 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-05/0.2586, allocations: 27.98 kB / 449.8 MB, free: 3.844 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001809/0.2588, allocations: 190 kB / 450 MB, free: 3.656 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2588, allocations: 0 / 450 MB, free: 3.656 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006173/0.2594, allocations: 215.8 kB / 450.2 MB, free: 3.445 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003461/0.2629, allocations: 1.899 MB / 452.1 MB, free: 1.516 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002334/0.2652, allocations: 1.182 MB / 453.3 MB, free: 328 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2653, allocations: 0 / 453.3 MB, free: 328 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001479/0.2667, allocations: 0.7476 MB / 454 MB, free: 15.56 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.2671, allocations: 38.84 kB / 454.1 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00919/0.2763, allocations: 5.839 MB / 459.9 MB, free: 9.582 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.2766, allocations: 0.8298 MB / 460.8 MB, free: 8.73 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002006/0.2769, allocations: 59.23 kB / 460.8 MB, free: 8.676 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.2771, allocations: 147.4 kB / 461 MB, free: 8.531 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2771, allocations: 0 / 461 MB, free: 8.531 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3389/0.616, allocations: 16.43 MB / 477.4 MB, free: 8.238 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000217/0.6162, allocations: 221.7 kB / 477.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/2.564, allocations: 0 / 477.6 MB, free: 7.977 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe 2>&1)