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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 118.4 kB / 19.74 MB, free: 2.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 217 kB / 23.05 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03905/0.03905, allocations: 6.127 MB / 319.4 MB, free: 13.06 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 43.94 kB / 444.5 MB, free: 5.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1066, allocations: 55.01 MB / 499.5 MB, free: 14.36 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.00504/0.1116, allocations: 3.546 MB / 0.4913 GB, free: 10.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.1136, allocations: 1.019 MB / 0.4923 GB, free: 9.777 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.1138, allocations: 8 kB / 0.4923 GB, free: 9.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.1142, allocations: 167 kB / 0.4924 GB, free: 9.605 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005206/0.1147, allocations: 246.4 kB / 0.4927 GB, free: 9.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.1172, allocations: 1.301 MB / 0.4939 GB, free: 8.059 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006625/0.1179, allocations: 485.7 kB / 0.4944 GB, free: 7.582 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002496/0.1181, allocations: 120.7 kB / 0.4945 GB, free: 7.457 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/0.1183, allocations: 203.3 kB / 0.4947 GB, free: 7.258 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004058/0.1187, allocations: 278.8 kB / 0.495 GB, free: 6.984 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.689e-05/0.1188, allocations: 40 kB / 0.495 GB, free: 6.945 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006027/0.1194, allocations: 315.7 kB / 0.4953 GB, free: 6.637 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.433e-05/0.1195, allocations: 95.61 kB / 0.4954 GB, free: 6.543 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002441/0.1197, allocations: 234.8 kB / 0.4956 GB, free: 6.312 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009106/0.1206, allocations: 0.6773 MB / 0.4963 GB, free: 5.633 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.1206, allocations: 0 / 0.4963 GB, free: 5.633 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1207, allocations: 4 kB / 0.4963 GB, free: 5.629 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.1207, allocations: 4 kB / 0.4963 GB, free: 5.625 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.005613/0.1263, allocations: 1.398 MB / 0.4977 GB, free: 4.191 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.1263, allocations: 8.031 kB / 0.4977 GB, free: 4.184 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.1264, allocations: 74.72 kB / 0.4978 GB, free: 4.102 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.1266, allocations: 52.66 kB / 0.4978 GB, free: 4.051 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004984/0.127, allocations: 301.2 kB / 0.4981 GB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.023e-05/0.1271, allocations: 55.27 kB / 0.4981 GB, free: 3.676 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.673e-05/0.1272, allocations: 48.38 kB / 0.4982 GB, free: 3.629 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009885/0.1282, allocations: 0.5999 MB / 0.4988 GB, free: 3.016 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1282, allocations: 0 / 0.4988 GB, free: 3.016 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.381e-05/0.1283, allocations: 16 kB / 0.4988 GB, free: 3 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.1283, allocations: 8 kB / 0.4988 GB, free: 2.992 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009569/0.1292, allocations: 0.5662 MB / 0.4994 GB, free: 2.426 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002934/0.1322, allocations: 1.743 MB / 0.5011 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.1335, allocations: 0.6707 MB / 0.5017 GB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005461/0.134, allocations: 342.3 kB / 0.502 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.393e-05/0.1341, allocations: 16.47 kB / 0.5021 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.1341, allocations: 47.06 kB / 0.5021 GB, free: 15.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 1.703e-06/0.1341, allocations: 0 / 0.5021 GB, free: 15.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=62): time 0.01602/0.1502, allocations: 2.963 MB / 0.505 GB, free: 12.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.156e-05/0.1502, allocations: 85.61 kB / 0.5051 GB, free: 12.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004144/0.1507, allocations: 276.1 kB / 0.5053 GB, free: 12.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.1508, allocations: 41.7 kB / 0.5054 GB, free: 12.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.1509, allocations: 169.7 kB / 0.5055 GB, free: 11.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002491/0.1512, allocations: 222.1 kB / 0.5057 GB, free: 11.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002587/0.1514, allocations: 130.6 kB / 0.5059 GB, free: 11.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.1516, allocations: 346.8 kB / 0.5062 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006469/0.1523, allocations: 361.9 kB / 0.5065 GB, free: 10.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007424/0.153, allocations: 428.5 kB / 0.507 GB, free: 10.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.1544, allocations: 0.7967 MB / 0.5077 GB, free: 9.641 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.1544, allocations: 0 / 0.5077 GB, free: 9.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.007255/0.1616, allocations: 1.704 MB / 0.5094 GB, free: 7.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.1617, allocations: 4 kB / 0.5094 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.1617, allocations: 0 / 0.5094 GB, free: 7.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007215/0.1689, allocations: 1.086 MB / 0.5105 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/0.1693, allocations: 87.89 kB / 0.5105 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/0.1811, allocations: 5.237 MB / 0.5157 GB, free: 1.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005025/0.1816, allocations: 55.56 kB / 0.5157 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.457e-05/0.1817, allocations: 27.98 kB / 0.5157 GB, free: 1.316 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 55 * 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 {(9,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0002928/0.182, allocations: 174.1 kB / 0.5159 GB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.1821, allocations: 43.72 kB / 0.516 GB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2145/0.3966, allocations: 1.683 MB / 0.5176 GB, free: 29.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.3966, allocations: 11.69 kB / 0.5176 GB, free: 29.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.3966, allocations: 0 / 0.5176 GB, free: 29.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/0.3966, allocations: 4.875 kB / 0.5176 GB, free: 29.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007651/0.4043, allocations: 2.408 MB / 0.52 GB, free: 29.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.4043, allocations: 0 / 0.52 GB, free: 29.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.4045, allocations: 74.73 kB / 0.52 GB, free: 29.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00698/0.4115, allocations: 1.06 MB / 0.5211 GB, free: 29.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.4116, allocations: 13.41 kB / 0.5211 GB, free: 29.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01064/0.4223, allocations: 5.153 MB / 0.5261 GB, free: 27.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.4223, allocations: 0 / 0.5261 GB, free: 27.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/0.4324, allocations: 1.693 MB / 0.5278 GB, free: 26.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/0.4326, allocations: 53.94 kB / 0.5278 GB, free: 26.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.4328, allocations: 20.59 kB / 0.5278 GB, free: 26.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006513/0.4334, allocations: 28.33 kB / 0.5279 GB, free: 26.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005112/0.4339, allocations: 63.42 kB / 0.5279 GB, free: 26.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.323e-05/0.434, allocations: 24.11 kB / 0.5279 GB, free: 26.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003856/0.4344, allocations: 192.1 kB / 0.5281 GB, free: 26.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4344, allocations: 0 / 0.5281 GB, free: 26.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001452/0.4359, allocations: 228.8 kB / 0.5283 GB, free: 26.71 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: 1 (cmd.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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 {(8,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01074/0.4466, allocations: 2.257 MB / 0.5306 GB, free: 25.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004655/0.4513, allocations: 1.205 MB / 0.5317 GB, free: 24.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.912e-06/0.4513, allocations: 1.094 kB / 0.5317 GB, free: 24.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003182/0.4545, allocations: 0.7685 MB / 0.5325 GB, free: 24.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008015/0.4553, allocations: 53.48 kB / 0.5325 GB, free: 24.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03035/0.4856, allocations: 6.471 MB / 0.5389 GB, free: 21.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.486, allocations: 0.8346 MB / 0.5397 GB, free: 20.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003157/0.4863, allocations: 65.14 kB / 0.5397 GB, free: 20.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002503/0.4866, allocations: 141.2 kB / 0.5399 GB, free: 20.61 MB / 382.1 MB Notification: Performance of SimCode: time 1.373e-06/0.4866, allocations: 0 / 0.5399 GB, free: 20.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05135/0.5379, allocations: 20.98 MB / 0.5604 GB, free: 4.715 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.39/13.93, allocations: 10.42 kB / 0.5604 GB, free: 4.711 MB / 382.1 MB " [Timeout remaining time 646] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding1.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.527733146911487] Failed to read output from testmodel.py, exit status != 0: 14.060101052979007 14.086733131 13.96077026 Calling exit ...