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.001058/0.001058, allocations: 103.2 kB / 16.45 MB, free: 6.43 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.001011/0.001011, allocations: 189.5 kB / 17.39 MB, free: 5.676 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.257/1.257, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04574/0.04574, allocations: 8.092 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 68.11 kB / 414 MB, free: 22.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08735/0.0885, allocations: 51.5 MB / 465.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.004694/0.09324, allocations: 4.115 MB / 469.6 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.0952, allocations: 1.084 MB / 470.7 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001846/0.0954, allocations: 8 kB / 470.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000442/0.09588, allocations: 198.8 kB / 470.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005931/0.09649, allocations: 302.1 kB / 471.2 MB, free: 12.95 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.002167/0.09866, allocations: 1.264 MB / 472.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007182/0.09939, allocations: 0.622 MB / 473.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003298/0.09973, allocations: 213.4 kB / 473.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003437/0.1001, allocations: 263 kB / 473.5 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000493/0.1006, allocations: 338.6 kB / 473.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.1007, allocations: 52 kB / 473.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005457/0.1013, allocations: 287.7 kB / 474.2 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.1014, allocations: 127.5 kB / 474.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003196/0.1017, allocations: 298.5 kB / 474.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009492/0.1027, allocations: 0.7913 MB / 475.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1027, allocations: 0 / 475.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1027, allocations: 0 / 475.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.931e-05/0.1027, allocations: 0 / 475.4 MB, free: 8.703 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.005837/0.1086, allocations: 1.626 MB / 477 MB, free: 7.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.1086, allocations: 15.89 kB / 477.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.1088, allocations: 82.7 kB / 477.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.1089, allocations: 64.28 kB / 477.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005367/0.1095, allocations: 403.7 kB / 477.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.639e-05/0.1096, allocations: 75.38 kB / 477.7 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.93e-05/0.1096, allocations: 48.38 kB / 477.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.1107, allocations: 0.6933 MB / 478.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1107, allocations: 0 / 478.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.514e-05/0.1108, allocations: 16 kB / 478.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.1108, allocations: 12 kB / 478.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009578/0.1118, allocations: 0.6442 MB / 479.1 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003328/0.1151, allocations: 2.697 MB / 481.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.1165, allocations: 1.061 MB / 482.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005878/0.1171, allocations: 446.7 kB / 483.3 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.36e-05/0.1172, allocations: 32.55 kB / 483.3 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008215/0.118, allocations: 0.4925 MB / 483.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=75): time 2.584e-06/0.118, allocations: 0 / 483.8 MB, free: 15.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.008592/0.1266, allocations: 2.638 MB / 486.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.1267, allocations: 93.69 kB / 486.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003993/0.1271, allocations: 341.5 kB / 486.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.89e-05/0.1272, allocations: 41.7 kB / 486.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.1274, allocations: 197.3 kB / 487.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.1276, allocations: 252.2 kB / 487.3 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/0.1278, allocations: 146.6 kB / 487.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.128, allocations: 362.8 kB / 487.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005998/0.1286, allocations: 413.9 kB / 488.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006759/0.1293, allocations: 0.4904 MB / 488.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/0.1306, allocations: 0.9327 MB / 489.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1306, allocations: 0 / 489.7 MB, free: 9.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=101) (initialization): time 0.004079/0.1347, allocations: 1.72 MB / 491.4 MB, free: 8.152 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.1347, allocations: 8 kB / 491.4 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.1347, allocations: 4 kB / 491.4 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003963/0.1387, allocations: 1.08 MB / 492.5 MB, free: 7.059 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/0.1392, allocations: 123.8 kB / 492.6 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008964/0.1482, allocations: 5.342 MB / 497.9 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005966/0.1488, allocations: 67.28 kB / 498 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.744e-05/0.1489, allocations: 27.98 kB / 498 MB, free: 1.375 MB / 366.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.0003068/0.1493, allocations: 189.7 kB / 498.2 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.1494, allocations: 59.28 kB / 498.3 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004419/0.1538, allocations: 1.706 MB / 500 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-05/0.1539, allocations: 11.98 kB / 500 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1539, allocations: 3.938 kB / 0.4883 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.1539, allocations: 7.969 kB / 0.4883 GB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005136/0.159, allocations: 2.525 MB / 0.4908 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.1591, allocations: 0 / 0.4908 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/0.1594, allocations: 91.84 kB / 0.4908 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003883/0.1633, allocations: 0.9647 MB / 0.4918 GB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.037e-05/0.1634, allocations: 19.98 kB / 0.4918 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008757/0.1722, allocations: 5.247 MB / 0.4969 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1722, allocations: 0 / 0.4969 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00427/0.1765, allocations: 1.688 MB / 0.4986 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001629/0.1767, allocations: 136.2 kB / 0.4987 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.1768, allocations: 19.98 kB / 0.4987 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005207/0.1773, allocations: 35.98 kB / 0.4988 GB, free: 4.402 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001942/0.1775, allocations: 64.91 kB / 0.4988 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.64e-05/0.1776, allocations: 27.98 kB / 0.4988 GB, free: 4.312 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002864/0.1779, allocations: 231.2 kB / 0.4991 GB, free: 4.086 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1779, allocations: 0 / 0.4991 GB, free: 4.086 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008594/0.1788, allocations: 263.7 kB / 0.4993 GB, free: 3.828 MB / 382.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.004518/0.1833, allocations: 2.259 MB / 0.5015 GB, free: 1.539 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003356/0.1867, allocations: 1.491 MB / 0.503 GB, free: 36 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/0.1867, allocations: 3.938 kB / 0.503 GB, free: 32 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1835/0.3702, allocations: 0.9821 MB / 0.5039 GB, free: 46.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005494/0.3708, allocations: 60.11 kB / 0.504 GB, free: 46.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/0.3829, allocations: 6.89 MB / 0.5107 GB, free: 44.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.3833, allocations: 0.8689 MB / 0.5116 GB, free: 43.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002533/0.3835, allocations: 75.81 kB / 0.5117 GB, free: 43.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002177/0.3838, allocations: 190.8 kB / 0.5118 GB, free: 43.19 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3838, allocations: 0 / 0.5118 GB, free: 43.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04299/0.4268, allocations: 21.45 MB / 0.5328 GB, free: 30.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.91, allocations: 15.16 kB / 0.5328 GB, free: 30.88 MB / 382.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)