Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.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.Islanding2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2",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.000775/0.000775, allocations: 101.6 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008971/0.0008972, allocations: 184.8 kB / 16.97 MB, free: 6.875 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.3/1.3, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.1687/0.1687, allocations: 8.085 MB / 300.2 MB, free: 2.91 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000296/0.0002961, allocations: 8 kB / 363.6 MB, free: 12.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08698/0.08729, allocations: 52.52 MB / 416.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.003534/0.09087, allocations: 3.73 MB / 419.8 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.09244, allocations: 1.051 MB / 420.9 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.09258, allocations: 8 kB / 420.9 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.09295, allocations: 159.2 kB / 421.1 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004926/0.09345, allocations: 270.5 kB / 421.3 MB, free: 3.047 MB / 350.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.001976/0.09543, allocations: 1.207 MB / 422.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006101/0.09605, allocations: 0.5908 MB / 423.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002683/0.09633, allocations: 185.8 kB / 423.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.09653, allocations: 227 kB / 423.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003404/0.09688, allocations: 314.6 kB / 423.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.429e-05/0.09694, allocations: 31.94 kB / 423.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004328/0.09738, allocations: 255.8 kB / 424.1 MB, free: 248 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.133e-05/0.09747, allocations: 103.5 kB / 424.2 MB, free: 144 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1592/0.2567, allocations: 295.8 kB / 424.5 MB, free: 35.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.2579, allocations: 0.7333 MB / 425.2 MB, free: 35.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2579, allocations: 3.875 kB / 425.2 MB, free: 35.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2579, allocations: 2.625 kB / 425.2 MB, free: 35.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.2579, allocations: 2.656 kB / 425.2 MB, free: 35.75 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.005304/0.2632, allocations: 1.543 MB / 426.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.2633, allocations: 11.88 kB / 426.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001397/0.2634, allocations: 88.86 kB / 426.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.2636, allocations: 64.16 kB / 427 MB, free: 35.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004754/0.264, allocations: 396.4 kB / 427.3 MB, free: 34.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.828e-05/0.2641, allocations: 66.86 kB / 427.4 MB, free: 34.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.278e-05/0.2642, allocations: 48.94 kB / 427.5 MB, free: 34.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009327/0.2652, allocations: 0.7003 MB / 428.2 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.2652, allocations: 0 / 428.2 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.691e-05/0.2652, allocations: 17.25 kB / 428.2 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.2653, allocations: 9.875 kB / 428.2 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008152/0.2661, allocations: 0.6396 MB / 428.8 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002725/0.2688, allocations: 2.724 MB / 431.5 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.2701, allocations: 1.058 MB / 432.6 MB, free: 33.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004941/0.2706, allocations: 455.8 kB / 433 MB, free: 33.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.841e-05/0.2707, allocations: 16.62 kB / 433.1 MB, free: 33.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007087/0.2714, allocations: 0.5029 MB / 433.6 MB, free: 33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.455e-06/0.2714, allocations: 2.625 kB / 433.6 MB, free: 33 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.008134/0.2796, allocations: 2.636 MB / 436.2 MB, free: 32.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.2796, allocations: 92.2 kB / 436.3 MB, free: 32.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.28, allocations: 336.8 kB / 436.6 MB, free: 32.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.133e-05/0.2801, allocations: 39.95 kB / 436.7 MB, free: 32.51 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.747e-05/0.2801, allocations: 202.8 kB / 436.9 MB, free: 32.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001391/0.2803, allocations: 250.9 kB / 437.1 MB, free: 32.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.847e-05/0.2804, allocations: 81.34 kB / 437.2 MB, free: 32.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.784e-05/0.2804, allocations: 356.4 kB / 437.5 MB, free: 31.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005359/0.281, allocations: 422.3 kB / 437.9 MB, free: 31.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005731/0.2816, allocations: 499.5 kB / 438.4 MB, free: 31.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.2827, allocations: 0.9301 MB / 439.4 MB, free: 31.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2827, allocations: 0 / 439.4 MB, free: 31.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.00385/0.2866, allocations: 1.732 MB / 441.1 MB, free: 30.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.2866, allocations: 6 kB / 441.1 MB, free: 30.6 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2866, allocations: 0 / 441.1 MB, free: 30.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003908/0.2905, allocations: 1.075 MB / 442.2 MB, free: 30.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004454/0.291, allocations: 124.8 kB / 442.3 MB, free: 30.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007554/0.2986, allocations: 4.904 MB / 447.2 MB, free: 27.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005779/0.2992, allocations: 66.59 kB / 447.3 MB, free: 27.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.615e-05/0.2993, allocations: 25.91 kB / 447.3 MB, free: 27.25 MB / 350.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 (74): * Single equations (assignments): 73 * 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 {(14,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002577/0.2995, allocations: 190.5 kB / 447.5 MB, free: 27.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.2996, allocations: 50.78 kB / 447.5 MB, free: 27.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00398/0.3036, allocations: 1.723 MB / 449.3 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.3036, allocations: 9.812 kB / 449.3 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.3037, allocations: 0 / 449.3 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.3037, allocations: 3.141 kB / 449.3 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004356/0.308, allocations: 2.538 MB / 451.8 MB, free: 25.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.308, allocations: 3 kB / 451.8 MB, free: 25.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002834/0.3083, allocations: 94.19 kB / 451.9 MB, free: 25.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003679/0.312, allocations: 0.9729 MB / 452.9 MB, free: 25 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/0.3121, allocations: 17.78 kB / 452.9 MB, free: 24.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006989/0.3191, allocations: 4.805 MB / 457.7 MB, free: 21.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3191, allocations: 0 / 457.7 MB, free: 21.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00372/0.3228, allocations: 1.693 MB / 459.4 MB, free: 21.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.713e-05/0.3229, allocations: 132.2 kB / 459.5 MB, free: 21.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.421e-05/0.323, allocations: 22.92 kB / 459.5 MB, free: 21.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004698/0.3235, allocations: 36.95 kB / 459.6 MB, free: 21.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.3237, allocations: 63.19 kB / 459.6 MB, free: 21.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.073e-05/0.3237, allocations: 27.75 kB / 459.7 MB, free: 21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002105/0.3239, allocations: 237.8 kB / 459.9 MB, free: 20.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3239, allocations: 0 / 459.9 MB, free: 20.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006998/0.3246, allocations: 261.1 kB / 460.1 MB, free: 20.83 MB / 350.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 (59): * Single equations (assignments): 58 * 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 {(14,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004202/0.3289, allocations: 2.259 MB / 462.4 MB, free: 19.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003317/0.3322, allocations: 1.465 MB / 463.9 MB, free: 18.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.3322, allocations: 0.9375 kB / 463.9 MB, free: 18.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002238/0.3345, allocations: 0.966 MB / 464.8 MB, free: 18.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/0.335, allocations: 64.47 kB / 464.9 MB, free: 18.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/0.3477, allocations: 7.181 MB / 472.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.348, allocations: 0.8707 MB / 473 MB, free: 13.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003167/0.3484, allocations: 75.5 kB / 473 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.3486, allocations: 191.3 kB / 473.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of SimCode: time 1.192e-06/0.3486, allocations: 0 / 473.2 MB, free: 13.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03188/0.3805, allocations: 18.95 MB / 492.2 MB, free: 5.047 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001495/0.3807, allocations: 220.1 kB / 492.4 MB, free: 4.793 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.964/2.345, allocations: 0 / 492.4 MB, free: 4.793 MB / 350.1 MB (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe 2>&1)