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.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: 101.2 kB / 20.52 MB, free: 1.449 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.001589/0.001589, allocations: 214.8 kB / 23.84 MB, free: 4.66 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.483/1.483, allocations: 230.6 MB / 257.6 MB, free: 7.984 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.03719/0.03719, allocations: 6.133 MB / 320.2 MB, free: 12.93 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.Islanding2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.BreakerTests.Islanding2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 43.94 kB / 445.3 MB, free: 5.328 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1042, allocations: 55.02 MB / 0.4886 GB, free: 14.21 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.006505/0.1107, allocations: 4.503 MB / 0.493 GB, free: 9.691 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003547/0.1143, allocations: 1.202 MB / 0.4942 GB, free: 8.484 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009963/0.1153, allocations: 8 kB / 0.4942 GB, free: 8.477 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000888/0.1162, allocations: 218.7 kB / 0.4944 GB, free: 8.262 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001439/0.1176, allocations: 349.8 kB / 0.4947 GB, free: 7.918 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002884/0.1205, allocations: 1.368 MB / 0.4961 GB, free: 6.547 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001284/0.1218, allocations: 0.7154 MB / 0.4967 GB, free: 5.828 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004098/0.1222, allocations: 174.7 kB / 0.4969 GB, free: 5.648 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000539/0.1227, allocations: 302.9 kB / 0.4972 GB, free: 5.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007411/0.1235, allocations: 418.3 kB / 0.4976 GB, free: 4.941 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.1236, allocations: 60 kB / 0.4977 GB, free: 4.883 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007292/0.1244, allocations: 331.7 kB / 0.498 GB, free: 4.559 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.1245, allocations: 155.4 kB / 0.4981 GB, free: 4.406 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004522/0.125, allocations: 346.2 kB / 0.4985 GB, free: 4.066 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.1263, allocations: 0.9107 MB / 0.4993 GB, free: 3.152 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1263, allocations: 0 / 0.4993 GB, free: 3.152 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.317e-06/0.1263, allocations: 4 kB / 0.4993 GB, free: 3.148 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.1263, allocations: 0 / 0.4993 GB, free: 3.148 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: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.008526/0.1348, allocations: 1.967 MB / 0.5013 GB, free: 1.145 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1349, allocations: 12.03 kB / 0.5013 GB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.849e-05/0.1349, allocations: 13.5 kB / 0.5013 GB, free: 1.117 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001522/0.135, allocations: 94.7 kB / 0.5014 GB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.1352, allocations: 84.45 kB / 0.5015 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000678/0.1359, allocations: 388.4 kB / 0.5018 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.376e-05/0.136, allocations: 75.58 kB / 0.5019 GB, free: 460 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.1361, allocations: 68.36 kB / 0.502 GB, free: 392 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001498/0.1376, allocations: 0.8581 MB / 0.5028 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1376, allocations: 0 / 0.5028 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.944e-05/0.1377, allocations: 28 kB / 0.5028 GB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.1377, allocations: 12 kB / 0.5028 GB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.1392, allocations: 0.8602 MB / 0.5037 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004436/0.1436, allocations: 2.614 MB / 0.5062 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.1455, allocations: 1.031 MB / 0.5072 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008419/0.1463, allocations: 0.5114 MB / 0.5077 GB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.1464, allocations: 16.97 kB / 0.5078 GB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.388e-05/0.1465, allocations: 47.56 kB / 0.5078 GB, free: 10.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 2.074e-06/0.1465, allocations: 4 kB / 0.5078 GB, free: 10.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=92): time 0.03071/0.1772, allocations: 5.25 MB / 0.5129 GB, free: 4.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.374e-05/0.1773, allocations: 90.09 kB / 0.513 GB, free: 4.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005186/0.1778, allocations: 357.5 kB / 0.5134 GB, free: 4.504 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001966/0.178, allocations: 49.7 kB / 0.5134 GB, free: 4.449 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.1782, allocations: 213.7 kB / 0.5136 GB, free: 4.234 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/0.1785, allocations: 325.1 kB / 0.5139 GB, free: 3.914 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003516/0.1789, allocations: 170.6 kB / 0.5141 GB, free: 3.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1791, allocations: 370.8 kB / 0.5144 GB, free: 3.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009018/0.18, allocations: 0.5252 MB / 0.515 GB, free: 2.844 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009562/0.1809, allocations: 0.5942 MB / 0.5155 GB, free: 2.246 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002949/0.1839, allocations: 1.173 MB / 0.5167 GB, free: 1.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/0.1839, allocations: 3.938 kB / 0.5167 GB, free: 1.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.2333/0.4172, allocations: 2.655 MB / 0.5193 GB, free: 29.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.4172, allocations: 4.594 kB / 0.5193 GB, free: 29.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.4172, allocations: 0.7031 kB / 0.5193 GB, free: 29.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01266/0.4299, allocations: 1.956 MB / 0.5212 GB, free: 29.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006038/0.4305, allocations: 132.5 kB / 0.5213 GB, free: 29.37 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01672/0.4472, allocations: 7.604 MB / 0.5287 GB, free: 26.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007176/0.4479, allocations: 82.06 kB / 0.5288 GB, free: 26.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.429e-05/0.448, allocations: 36.64 kB / 0.5289 GB, free: 26.48 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 (80): * Single equations (assignments): 79 * 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 {(18,24)} Notification: Performance of prepare postOptimizeDAE: time 0.0002779/0.4483, allocations: 203.5 kB / 0.5291 GB, free: 26.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.4484, allocations: 60.5 kB / 0.5291 GB, free: 26.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01219/0.4606, allocations: 2.671 MB / 0.5317 GB, free: 25.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.4606, allocations: 10.38 kB / 0.5317 GB, free: 25.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.4606, allocations: 0 / 0.5317 GB, free: 25.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.571e-05/0.4606, allocations: 4.969 kB / 0.5317 GB, free: 25.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01292/0.4735, allocations: 3.644 MB / 0.5353 GB, free: 23.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.4736, allocations: 1.188 kB / 0.5353 GB, free: 23.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003978/0.474, allocations: 106.7 kB / 0.5354 GB, free: 23.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01241/0.4864, allocations: 1.878 MB / 0.5372 GB, free: 23.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001581/0.4865, allocations: 17.16 kB / 0.5372 GB, free: 23.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01568/0.5022, allocations: 7.505 MB / 0.5446 GB, free: 18.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5022, allocations: 3.938 kB / 0.5446 GB, free: 18.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01071/0.5129, allocations: 2.615 MB / 0.5471 GB, free: 17.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002253/0.5131, allocations: 71.14 kB / 0.5472 GB, free: 17.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/0.5133, allocations: 19.88 kB / 0.5472 GB, free: 17.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006705/0.514, allocations: 47.56 kB / 0.5473 GB, free: 17.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003357/0.5144, allocations: 88.5 kB / 0.5473 GB, free: 17.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.199e-05/0.5144, allocations: 35.73 kB / 0.5474 GB, free: 17.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002586/0.5147, allocations: 244.3 kB / 0.5476 GB, free: 16.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5147, allocations: 1.531 kB / 0.5476 GB, free: 16.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0011/0.5158, allocations: 343.3 kB / 0.5479 GB, free: 16.94 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 (65): * Single equations (assignments): 64 * 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 {(18,24)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01098/0.5268, allocations: 3.201 MB / 0.5511 GB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004032/0.5308, allocations: 1.817 MB / 0.5528 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.5308, allocations: 0 / 0.5528 GB, free: 12.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002847/0.5337, allocations: 1.212 MB / 0.554 GB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005996/0.5343, allocations: 61.5 kB / 0.5541 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02662/0.5609, allocations: 9.446 MB / 0.5633 GB, free: 2.023 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.5612, allocations: 0.9132 MB / 0.5642 GB, free: 1.086 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000301/0.5615, allocations: 92.77 kB / 0.5643 GB, free: 1 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/0.5617, allocations: 219.4 kB / 0.5645 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5617, allocations: 0 / 0.5645 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06999/0.6317, allocations: 31.47 MB / 0.5952 GB, free: 1.508 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/15.08, allocations: 7.625 kB / 0.5952 GB, free: 1.504 MB / 414.1 MB " [Timeout remaining time 645] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_BreakerTests_Islanding2.fmu > PowerSysPro_PowerSysPro.Examples.BreakerTests.Islanding2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.872253827983513] Failed to read output from testmodel.py, exit status != 0: 15.266101214918308 15.289401066 15.158799072 Calling exit ...