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.001326/0.001326, allocations: 101.9 kB / 20.52 MB, free: 1.348 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.001567/0.001567, allocations: 217.7 kB / 23.82 MB, free: 4.512 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.481/1.481, allocations: 230.6 MB / 257.6 MB, free: 7.801 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.03858/0.03858, allocations: 6.139 MB / 320.1 MB, free: 12.76 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.001481/0.001481, allocations: 47.92 kB / 445.2 MB, free: 5.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.106, allocations: 55.03 MB / 0.4885 GB, free: 13.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding2): time 0.005796/0.1118, allocations: 4.012 MB / 0.4924 GB, free: 9.953 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002429/0.1142, allocations: 1.121 MB / 0.4935 GB, free: 8.828 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002564/0.1144, allocations: 12 kB / 0.4935 GB, free: 8.816 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005746/0.115, allocations: 218.6 kB / 0.4937 GB, free: 8.602 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000891/0.1159, allocations: 349.8 kB / 0.4941 GB, free: 8.258 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002758/0.1187, allocations: 1.277 MB / 0.4953 GB, free: 6.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001093/0.1198, allocations: 0.7076 MB / 0.496 GB, free: 6.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003369/0.1201, allocations: 170.7 kB / 0.4962 GB, free: 6.094 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003938/0.1205, allocations: 314.8 kB / 0.4965 GB, free: 5.785 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005697/0.1211, allocations: 410.3 kB / 0.4969 GB, free: 5.383 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.1212, allocations: 60 kB / 0.4969 GB, free: 5.324 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008023/0.122, allocations: 327.8 kB / 0.4972 GB, free: 5.004 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.1221, allocations: 151.4 kB / 0.4974 GB, free: 4.855 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003332/0.1225, allocations: 282.6 kB / 0.4977 GB, free: 4.578 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.1239, allocations: 0.9301 MB / 0.4986 GB, free: 3.645 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1239, allocations: 0 / 0.4986 GB, free: 3.645 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1239, allocations: 4 kB / 0.4986 GB, free: 3.641 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.1239, allocations: 0 / 0.4986 GB, free: 3.641 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.008874/0.1328, allocations: 1.955 MB / 0.5005 GB, free: 1.648 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.1328, allocations: 12.03 kB / 0.5005 GB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.858e-05/0.1328, allocations: 13.5 kB / 0.5005 GB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001449/0.133, allocations: 98.7 kB / 0.5006 GB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001846/0.1332, allocations: 76.47 kB / 0.5007 GB, free: 1.441 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006869/0.1338, allocations: 392.4 kB / 0.501 GB, free: 1.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.134, allocations: 75.58 kB / 0.5011 GB, free: 0.9531 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.1341, allocations: 60.38 kB / 0.5012 GB, free: 0.8945 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.1358, allocations: 1.221 MB / 0.5024 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1359, allocations: 0 / 0.5024 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.984e-05/0.1359, allocations: 28 kB / 0.5024 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.136, allocations: 12 kB / 0.5024 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/0.1374, allocations: 0.8485 MB / 0.5032 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004337/0.1418, allocations: 1.967 MB / 0.5052 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001941/0.1437, allocations: 1.023 MB / 0.5062 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008558/0.1446, allocations: 0.5036 MB / 0.5066 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.1447, allocations: 13 kB / 0.5067 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.929e-05/0.1447, allocations: 51.48 kB / 0.5067 GB, free: 11.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=92): time 3.387e-06/0.1447, allocations: 0 / 0.5067 GB, free: 11.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=92): time 0.03283/0.1775, allocations: 5.25 MB / 0.5118 GB, free: 5.805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.492e-05/0.1776, allocations: 90.11 kB / 0.5119 GB, free: 5.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006171/0.1783, allocations: 357.6 kB / 0.5123 GB, free: 5.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002049/0.1785, allocations: 45.7 kB / 0.5123 GB, free: 5.293 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.1786, allocations: 217.7 kB / 0.5125 GB, free: 5.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003554/0.179, allocations: 325.1 kB / 0.5128 GB, free: 4.754 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003553/0.1794, allocations: 174.6 kB / 0.513 GB, free: 4.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.1796, allocations: 366.8 kB / 0.5133 GB, free: 4.207 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009366/0.1805, allocations: 0.5213 MB / 0.5138 GB, free: 3.688 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.1816, allocations: 0.6232 MB / 0.5145 GB, free: 3.055 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/0.1837, allocations: 1.181 MB / 0.5156 GB, free: 1.871 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.1837, allocations: 3.938 kB / 0.5156 GB, free: 1.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.2081/0.3919, allocations: 2.65 MB / 0.5182 GB, free: 29.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.3919, allocations: 5.094 kB / 0.5182 GB, free: 29.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.3919, allocations: 0 / 0.5182 GB, free: 29.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01341/0.4053, allocations: 1.956 MB / 0.5201 GB, free: 29.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005741/0.4059, allocations: 133.4 kB / 0.5202 GB, free: 29.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01645/0.4223, allocations: 7.359 MB / 0.5274 GB, free: 26.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007287/0.4231, allocations: 91.2 kB / 0.5275 GB, free: 26.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.243e-05/0.4232, allocations: 36.05 kB / 0.5276 GB, free: 26.66 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.0002835/0.4234, allocations: 202.6 kB / 0.5277 GB, free: 26.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.4236, allocations: 60.19 kB / 0.5278 GB, free: 26.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01199/0.4356, allocations: 2.674 MB / 0.5304 GB, free: 25.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/0.4356, allocations: 10.38 kB / 0.5304 GB, free: 25.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.4356, allocations: 1.469 kB / 0.5304 GB, free: 25.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.254e-05/0.4356, allocations: 9.188 kB / 0.5304 GB, free: 25.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01314/0.4488, allocations: 3.434 MB / 0.5338 GB, free: 24.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-05/0.4488, allocations: 2.344 kB / 0.5338 GB, free: 24.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004132/0.4492, allocations: 112.9 kB / 0.5339 GB, free: 24.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01266/0.4619, allocations: 1.861 MB / 0.5357 GB, free: 23.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001952/0.462, allocations: 24.31 kB / 0.5357 GB, free: 23.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01497/0.477, allocations: 7.272 MB / 0.5428 GB, free: 19.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.477, allocations: 3.938 kB / 0.5428 GB, free: 19.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0108/0.4878, allocations: 2.617 MB / 0.5454 GB, free: 18.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/0.488, allocations: 73.06 kB / 0.5455 GB, free: 18.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.4881, allocations: 20.2 kB / 0.5455 GB, free: 18.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006129/0.4888, allocations: 55.52 kB / 0.5455 GB, free: 18.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003655/0.4891, allocations: 89.05 kB / 0.5456 GB, free: 18.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.777e-05/0.4892, allocations: 33.45 kB / 0.5457 GB, free: 18.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002519/0.4895, allocations: 247.6 kB / 0.5459 GB, free: 18.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4895, allocations: 0 / 0.5459 GB, free: 18.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001102/0.4906, allocations: 347.2 kB / 0.5462 GB, free: 18 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.01118/0.5017, allocations: 3.192 MB / 0.5493 GB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004117/0.5059, allocations: 1.818 MB / 0.5511 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/0.5059, allocations: 0 / 0.5511 GB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003009/0.5089, allocations: 1.204 MB / 0.5523 GB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007254/0.5096, allocations: 72.14 kB / 0.5524 GB, free: 12.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02757/0.5372, allocations: 9.451 MB / 0.5616 GB, free: 3.137 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.5374, allocations: 311.9 kB / 0.5619 GB, free: 2.805 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003105/0.5377, allocations: 85.55 kB / 0.562 GB, free: 2.723 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002405/0.538, allocations: 219.3 kB / 0.5622 GB, free: 2.508 MB / 382.1 MB Notification: Performance of SimCode: time 9.22e-07/0.538, allocations: 0 / 0.5622 GB, free: 2.508 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06593/0.6039, allocations: 29.81 MB / 0.5913 GB, free: 4.957 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.63/15.23, allocations: 11.86 kB / 0.5913 GB, free: 4.945 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.978871763916686] Failed to read output from testmodel.py, exit status != 0: 15.421586502110586 15.450484534 15.320856105 Calling exit ...