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.001039/0.001039, allocations: 104.7 kB / 16.31 MB, free: 6.391 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.001006/0.001006, allocations: 190.5 kB / 17.24 MB, free: 5.922 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.332/1.332, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05196/0.05196, allocations: 8.108 MB / 299.2 MB, free: 6.699 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002378/0.002378, allocations: 67.89 kB / 361.8 MB, free: 8.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2319, allocations: 51.51 MB / 413.4 MB, free: 25.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.003471/0.2354, allocations: 3.599 MB / 417 MB, free: 21.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.2367, allocations: 0.9728 MB / 417.9 MB, free: 20.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.2369, allocations: 8 kB / 417.9 MB, free: 20.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003694/0.2373, allocations: 167 kB / 418.1 MB, free: 20.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004472/0.2378, allocations: 258.4 kB / 418.3 MB, free: 20.54 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.001711/0.2395, allocations: 1.233 MB / 419.6 MB, free: 19.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005274/0.24, allocations: 489.6 kB / 420.1 MB, free: 18.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000235/0.2403, allocations: 174.6 kB / 420.2 MB, free: 18.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.2404, allocations: 203.2 kB / 420.4 MB, free: 18.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.2407, allocations: 270.9 kB / 420.7 MB, free: 18.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.402e-05/0.2408, allocations: 36 kB / 420.7 MB, free: 18.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004167/0.2412, allocations: 279.8 kB / 421 MB, free: 17.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.519e-05/0.2412, allocations: 95.61 kB / 421.1 MB, free: 17.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001576/0.2414, allocations: 242.7 kB / 421.3 MB, free: 17.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005617/0.242, allocations: 0.6543 MB / 422 MB, free: 16.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.242, allocations: 4 kB / 422 MB, free: 16.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.242, allocations: 4 kB / 422 MB, free: 16.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.242, allocations: 0 / 422 MB, free: 16.88 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.004303/0.2463, allocations: 1.373 MB / 423.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.2464, allocations: 11.89 kB / 423.4 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.614e-05/0.2465, allocations: 78.72 kB / 423.5 MB, free: 15.35 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.2466, allocations: 56.36 kB / 423.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.2469, allocations: 347.4 kB / 423.8 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.506e-05/0.247, allocations: 63.2 kB / 423.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.767e-05/0.2471, allocations: 36.38 kB / 423.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007065/0.2478, allocations: 0.5726 MB / 424.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.2478, allocations: 0 / 424.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.456e-05/0.2478, allocations: 19.94 kB / 424.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.2479, allocations: 8 kB / 424.5 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006242/0.2485, allocations: 0.5154 MB / 425.1 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002179/0.2507, allocations: 2.238 MB / 427.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009769/0.2517, allocations: 0.7454 MB / 428 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003975/0.2521, allocations: 362.4 kB / 428.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.653e-05/0.2522, allocations: 12.55 kB / 428.4 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006117/0.2528, allocations: 415 kB / 428.8 MB, free: 9.66 MB / 302.1 MB Notification: Performance of pre-optimization done (n=61): time 3.156e-06/0.2528, allocations: 0 / 428.8 MB, free: 9.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.006465/0.2593, allocations: 2.108 MB / 430.9 MB, free: 7.523 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.2593, allocations: 89.67 kB / 431 MB, free: 7.418 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002809/0.2596, allocations: 274.9 kB / 431.3 MB, free: 7.141 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.93e-05/0.2597, allocations: 41.7 kB / 431.3 MB, free: 7.094 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.65e-05/0.2598, allocations: 173.5 kB / 431.5 MB, free: 6.922 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.26, allocations: 208.9 kB / 431.7 MB, free: 6.715 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.2602, allocations: 134.6 kB / 431.8 MB, free: 6.578 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.546e-05/0.2602, allocations: 346.8 kB / 432.2 MB, free: 6.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004099/0.2606, allocations: 337.9 kB / 432.5 MB, free: 5.902 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/0.2611, allocations: 401.9 kB / 432.9 MB, free: 5.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008908/0.262, allocations: 0.7578 MB / 433.6 MB, free: 4.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.262, allocations: 0 / 433.6 MB, free: 4.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002933/0.2649, allocations: 1.36 MB / 435 MB, free: 3.359 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.265, allocations: 4 kB / 435 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/0.265, allocations: 0 / 435 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002868/0.2679, allocations: 0.681 MB / 435.7 MB, free: 2.672 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003977/0.2683, allocations: 103.8 kB / 435.8 MB, free: 2.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006313/0.2746, allocations: 4.338 MB / 440.1 MB, free: 14.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004904/0.2751, allocations: 63.36 kB / 440.2 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.698e-05/0.2752, allocations: 20 kB / 440.2 MB, free: 14.02 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.0002279/0.2754, allocations: 177.7 kB / 440.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.347e-05/0.2755, allocations: 43.44 kB / 440.4 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003393/0.2789, allocations: 1.331 MB / 441.8 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.2789, allocations: 7.938 kB / 441.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.279, allocations: 0 / 441.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.279, allocations: 11.92 kB / 441.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003871/0.2828, allocations: 2.024 MB / 443.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.2829, allocations: 8 kB / 443.8 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.2831, allocations: 75.84 kB / 443.9 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002921/0.2861, allocations: 0.6752 MB / 444.6 MB, free: 9.586 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.657e-05/0.2861, allocations: 16 kB / 444.6 MB, free: 9.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006774/0.2929, allocations: 4.279 MB / 448.9 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2929, allocations: 0 / 448.9 MB, free: 5.152 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003269/0.2962, allocations: 1.335 MB / 450.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.2963, allocations: 132.3 kB / 450.3 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.322e-05/0.2964, allocations: 12 kB / 450.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003948/0.2968, allocations: 43.8 kB / 450.4 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.297, allocations: 52.48 kB / 450.4 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.284e-05/0.297, allocations: 16 kB / 450.4 MB, free: 3.527 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001976/0.2972, allocations: 201.9 kB / 450.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2973, allocations: 0 / 450.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006683/0.2979, allocations: 215.8 kB / 450.8 MB, free: 3.117 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.003498/0.3014, allocations: 1.899 MB / 452.7 MB, free: 1.191 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00269/0.3041, allocations: 1.182 MB / 453.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3042, allocations: 0 / 453.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001641/0.3058, allocations: 0.7398 MB / 454.7 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.3063, allocations: 44.58 kB / 454.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.3166, allocations: 5.67 MB / 460.4 MB, free: 9.426 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/0.3169, allocations: 0.8259 MB / 461.2 MB, free: 8.578 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002306/0.3172, allocations: 67.2 kB / 461.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.3174, allocations: 151.4 kB / 461.4 MB, free: 8.367 MB / 334.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3174, allocations: 0 / 461.4 MB, free: 8.367 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03878/0.3562, allocations: 16.56 MB / 478 MB, free: 7.914 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.96, allocations: 4.562 kB / 478 MB, free: 7.91 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)