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.001105/0.001105, allocations: 103.6 kB / 16.45 MB, free: 6.438 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.001155/0.001155, allocations: 186.9 kB / 17.39 MB, free: 5.668 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.279/1.279, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04593/0.04593, allocations: 8.104 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 59.91 kB / 414 MB, free: 22.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08481/0.08595, allocations: 51.52 MB / 465.5 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.004523/0.09051, allocations: 3.613 MB / 469.1 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.09234, allocations: 0.9729 MB / 470.1 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003151/0.09268, allocations: 8 kB / 470.1 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005414/0.09326, allocations: 175 kB / 470.3 MB, free: 14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000795/0.09407, allocations: 246.4 kB / 470.5 MB, free: 13.76 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.002195/0.09628, allocations: 1.229 MB / 471.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000757/0.09704, allocations: 497.6 kB / 472.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002984/0.09735, allocations: 183 kB / 472.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003084/0.09767, allocations: 203.3 kB / 472.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004354/0.09811, allocations: 274.9 kB / 472.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.802e-05/0.09822, allocations: 40 kB / 472.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005295/0.09876, allocations: 275.7 kB / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.09887, allocations: 103.6 kB / 473.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002669/0.09914, allocations: 234.8 kB / 473.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008602/0.1, allocations: 0.6629 MB / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1, allocations: 0 / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1, allocations: 0 / 474.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.445e-05/0.1, allocations: 0 / 474.2 MB, free: 10.09 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00484/0.1049, allocations: 1.377 MB / 475.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.1049, allocations: 11.89 kB / 475.6 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/0.1051, allocations: 74.72 kB / 475.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.1052, allocations: 56.38 kB / 475.7 MB, free: 8.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004731/0.1057, allocations: 343.4 kB / 476 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.523e-05/0.1058, allocations: 67.25 kB / 476.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.337e-05/0.1059, allocations: 40.38 kB / 476.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009015/0.1068, allocations: 0.5687 MB / 476.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1068, allocations: 0 / 476.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.712e-05/0.1068, allocations: 16 kB / 476.7 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.1069, allocations: 12 kB / 476.7 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008027/0.1077, allocations: 0.5154 MB / 477.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00274/0.1104, allocations: 2.226 MB / 479.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.1115, allocations: 0.7377 MB / 480.2 MB, free: 3.676 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004678/0.112, allocations: 362.4 kB / 480.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.423e-05/0.1121, allocations: 12.55 kB / 480.6 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000673/0.1128, allocations: 415 kB / 481 MB, free: 2.895 MB / 350.1 MB Notification: Performance of pre-optimization done (n=61): time 2.966e-06/0.1128, allocations: 0 / 481 MB, free: 2.895 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.006868/0.1197, allocations: 2.115 MB / 483.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.1197, allocations: 85.67 kB / 483.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.12, allocations: 278.9 kB / 483.4 MB, free: 372 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.7e-05/0.1201, allocations: 41.7 kB / 483.5 MB, free: 324 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.1202, allocations: 173.5 kB / 483.7 MB, free: 144 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.1204, allocations: 209.1 kB / 483.9 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002049/0.1206, allocations: 126.6 kB / 484 MB, free: 15.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1207, allocations: 358.8 kB / 484.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005019/0.1212, allocations: 333.9 kB / 484.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005383/0.1218, allocations: 409.9 kB / 485.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.1228, allocations: 0.7501 MB / 485.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1229, allocations: 8.031 kB / 485.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.003279/0.1261, allocations: 1.36 MB / 487.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.1262, allocations: 10.28 kB / 487.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.1262, allocations: 4 kB / 487.2 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003026/0.1292, allocations: 0.6708 MB / 487.9 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/0.1296, allocations: 111.9 kB / 488 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00682/0.1365, allocations: 4.31 MB / 492.3 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/0.1369, allocations: 59.36 kB / 492.3 MB, free: 7.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.925e-05/0.137, allocations: 24 kB / 492.4 MB, free: 7.25 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 (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.000236/0.1372, allocations: 169.8 kB / 492.5 MB, free: 7.074 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.916e-05/0.1373, allocations: 39.53 kB / 492.6 MB, free: 7.035 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003242/0.1406, allocations: 1.335 MB / 493.9 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.1406, allocations: 8 kB / 493.9 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1406, allocations: 4 kB / 493.9 MB, free: 5.676 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.1406, allocations: 3.984 kB / 493.9 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003972/0.1446, allocations: 2.04 MB / 496 MB, free: 3.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.1446, allocations: 0 / 496 MB, free: 3.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.1449, allocations: 79.91 kB / 496 MB, free: 3.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002862/0.1478, allocations: 0.6737 MB / 496.7 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.188e-05/0.1478, allocations: 23.92 kB / 496.7 MB, free: 2.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006577/0.1544, allocations: 4.269 MB / 0.4893 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1544, allocations: 0 / 0.4893 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003098/0.1575, allocations: 1.329 MB / 0.4906 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.1577, allocations: 132.4 kB / 0.4907 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.656e-05/0.1577, allocations: 12 kB / 0.4907 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003916/0.1581, allocations: 27.92 kB / 0.4907 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.1583, allocations: 52.48 kB / 0.4908 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.008e-05/0.1583, allocations: 24 kB / 0.4908 GB, free: 12.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001944/0.1585, allocations: 197.9 kB / 0.491 GB, free: 12.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1585, allocations: 3.938 kB / 0.491 GB, free: 12.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000664/0.1592, allocations: 211.8 kB / 0.4912 GB, free: 12.36 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 (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.003434/0.1627, allocations: 1.902 MB / 0.493 GB, free: 10.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00247/0.1651, allocations: 1.159 MB / 0.4942 GB, free: 9.262 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1652, allocations: 0 / 0.4942 GB, free: 9.262 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001614/0.1668, allocations: 0.7434 MB / 0.4949 GB, free: 8.512 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004151/0.1672, allocations: 39.78 kB / 0.4949 GB, free: 8.477 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009828/0.177, allocations: 5.662 MB / 0.5005 GB, free: 2.715 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.1774, allocations: 0.8298 MB / 0.5013 GB, free: 1.863 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002005/0.1776, allocations: 67.2 kB / 0.5013 GB, free: 1.797 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002105/0.1779, allocations: 147.4 kB / 0.5015 GB, free: 1.652 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1779, allocations: 0 / 0.5015 GB, free: 1.652 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2137/0.3916, allocations: 17.35 MB / 0.5184 GB, free: 42.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.28, allocations: 9.125 kB / 0.5184 GB, free: 42.28 MB / 382.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)