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.001084/0.001084, allocations: 99.86 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.001114/0.001114, allocations: 190.2 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.367/1.367, allocations: 222.9 MB / 241 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.04925/0.04925, allocations: 8.093 MB / 299.2 MB, free: 6.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 63.89 kB / 361.8 MB, free: 8.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2586, allocations: 51.51 MB / 413.4 MB, free: 25.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.00426/0.2629, allocations: 4.108 MB / 417.5 MB, free: 21.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.2645, allocations: 1.076 MB / 418.5 MB, free: 20.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.2646, allocations: 11.94 kB / 418.6 MB, free: 20.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004098/0.2651, allocations: 194.8 kB / 418.7 MB, free: 20.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005401/0.2656, allocations: 294.1 kB / 419 MB, free: 19.86 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.001691/0.2673, allocations: 1.272 MB / 420.3 MB, free: 18.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005273/0.2679, allocations: 0.6026 MB / 420.9 MB, free: 17.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002861/0.2682, allocations: 225.3 kB / 421.1 MB, free: 17.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.2684, allocations: 255 kB / 421.4 MB, free: 17.51 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003771/0.2688, allocations: 346.6 kB / 421.7 MB, free: 17.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.409e-05/0.2689, allocations: 48 kB / 421.8 MB, free: 17.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005071/0.2694, allocations: 291.7 kB / 422 MB, free: 16.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.323e-05/0.2695, allocations: 123.5 kB / 422.2 MB, free: 16.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002226/0.2697, allocations: 302.5 kB / 422.5 MB, free: 16.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007105/0.2704, allocations: 0.7827 MB / 423.2 MB, free: 15.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.2704, allocations: 0 / 423.2 MB, free: 15.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2704, allocations: 0 / 423.2 MB, free: 15.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.2705, allocations: 0 / 423.2 MB, free: 15.63 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.005453/0.2759, allocations: 1.626 MB / 424.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.276, allocations: 15.89 kB / 424.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.618e-05/0.2761, allocations: 82.66 kB / 425 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.2762, allocations: 68.19 kB / 425 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.2766, allocations: 407.8 kB / 425.4 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.341e-05/0.2767, allocations: 71.45 kB / 425.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.394e-05/0.2767, allocations: 48.38 kB / 425.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008166/0.2776, allocations: 0.6855 MB / 426.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.2776, allocations: 0 / 426.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.251e-05/0.2776, allocations: 19.98 kB / 426.3 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.2777, allocations: 12 kB / 426.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000765/0.2784, allocations: 0.6442 MB / 426.9 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002601/0.281, allocations: 2.709 MB / 429.6 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.2822, allocations: 1.054 MB / 430.7 MB, free: 7.75 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004818/0.2827, allocations: 450.7 kB / 431.1 MB, free: 7.309 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.622e-05/0.2828, allocations: 28.56 kB / 431.1 MB, free: 7.281 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006546/0.2834, allocations: 0.4963 MB / 431.6 MB, free: 6.773 MB / 302.1 MB Notification: Performance of pre-optimization done (n=75): time 2.265e-06/0.2834, allocations: 0 / 431.6 MB, free: 6.773 MB / 302.1 MB Notification: Performance of matching and sorting (n=75): time 0.008106/0.2916, allocations: 2.638 MB / 434.3 MB, free: 4.102 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.2916, allocations: 93.7 kB / 434.4 MB, free: 3.992 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.2919, allocations: 337.5 kB / 434.7 MB, free: 3.652 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.088e-05/0.292, allocations: 45.7 kB / 434.7 MB, free: 3.602 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.444e-05/0.2921, allocations: 197.3 kB / 434.9 MB, free: 3.406 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.2922, allocations: 256.2 kB / 435.2 MB, free: 3.152 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/0.2924, allocations: 146.7 kB / 435.3 MB, free: 3.004 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.535e-05/0.2925, allocations: 358.8 kB / 435.7 MB, free: 2.645 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005197/0.293, allocations: 421.9 kB / 436.1 MB, free: 2.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005449/0.2936, allocations: 498.2 kB / 436.6 MB, free: 1.734 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.2947, allocations: 0.9288 MB / 437.5 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.2947, allocations: 0 / 437.5 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.004069/0.2988, allocations: 1.735 MB / 439.2 MB, free: 15.05 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.2988, allocations: 4 kB / 439.2 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.2989, allocations: 4 kB / 439.2 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004111/0.303, allocations: 1.078 MB / 440.3 MB, free: 13.97 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004714/0.3035, allocations: 123.8 kB / 440.4 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009198/0.3127, allocations: 5.331 MB / 445.8 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000601/0.3133, allocations: 79.2 kB / 445.9 MB, free: 8.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.09e-05/0.3134, allocations: 24 kB / 445.9 MB, free: 8.277 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 (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.0003096/0.3137, allocations: 189.7 kB / 446.1 MB, free: 8.082 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.3138, allocations: 59.27 kB / 446.1 MB, free: 8.023 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004356/0.3182, allocations: 1.71 MB / 447.8 MB, free: 6.301 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.3182, allocations: 8 kB / 447.8 MB, free: 6.293 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3182, allocations: 7.938 kB / 447.8 MB, free: 6.285 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.3182, allocations: 7.984 kB / 447.9 MB, free: 6.277 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005107/0.3233, allocations: 2.525 MB / 450.4 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.3234, allocations: 0 / 450.4 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000405/0.3238, allocations: 99.83 kB / 450.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003955/0.3277, allocations: 0.9612 MB / 451.4 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.976e-05/0.3278, allocations: 20 kB / 451.5 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009141/0.337, allocations: 5.27 MB / 456.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.337, allocations: 0 / 456.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004345/0.3414, allocations: 1.683 MB / 458.4 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.3415, allocations: 148.1 kB / 458.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-05/0.3416, allocations: 12 kB / 458.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004858/0.3421, allocations: 31.98 kB / 458.6 MB, free: 11.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.3423, allocations: 68.91 kB / 458.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.856e-05/0.3424, allocations: 23.98 kB / 458.7 MB, free: 11.19 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002677/0.3426, allocations: 239.2 kB / 458.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3427, allocations: 0 / 458.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007691/0.3434, allocations: 255.8 kB / 459.2 MB, free: 10.71 MB / 334.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.004416/0.3479, allocations: 2.266 MB / 461.4 MB, free: 8.406 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.003546/0.3514, allocations: 1.53 MB / 463 MB, free: 6.867 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3514, allocations: 0 / 463 MB, free: 6.867 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002288/0.3537, allocations: 0.9809 MB / 463.9 MB, free: 5.875 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004907/0.3542, allocations: 61.42 kB / 464 MB, free: 5.816 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/0.3673, allocations: 6.948 MB / 471 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005497/0.3679, allocations: 0.8659 MB / 471.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002973/0.3682, allocations: 84.3 kB / 471.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002783/0.3685, allocations: 191.4 kB / 472.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3685, allocations: 4 kB / 472.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04551/0.4141, allocations: 20.45 MB / 492.5 MB, free: 9.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.54, allocations: 4.562 kB / 492.5 MB, free: 9.266 MB / 366.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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe 2>&1)