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.001335/0.001335, allocations: 108.3 kB / 19.74 MB, free: 1.906 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.001566/0.001566, allocations: 220.8 kB / 23.04 MB, free: 4.988 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: 7.809 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.04218/0.04218, allocations: 6.147 MB / 319.4 MB, free: 12.75 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.001687/0.001687, allocations: 47.92 kB / 444.4 MB, free: 5.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1131, allocations: 55.02 MB / 499.5 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.Islanding1): time 0.005322/0.1184, allocations: 3.234 MB / 0.4909 GB, free: 10.72 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00217/0.1206, allocations: 0.9378 MB / 0.4918 GB, free: 9.777 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003452/0.1209, allocations: 8 kB / 0.4918 GB, free: 9.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006127/0.1216, allocations: 171 kB / 0.492 GB, free: 9.602 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008536/0.1224, allocations: 242.5 kB / 0.4922 GB, free: 9.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002604/0.125, allocations: 1.2 MB / 0.4934 GB, free: 8.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008195/0.1258, allocations: 485.6 kB / 0.4939 GB, free: 7.684 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002707/0.1261, allocations: 108.8 kB / 0.494 GB, free: 7.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003262/0.1264, allocations: 199.3 kB / 0.4942 GB, free: 7.375 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005111/0.1269, allocations: 246.9 kB / 0.4944 GB, free: 7.133 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.1271, allocations: 40 kB / 0.4944 GB, free: 7.094 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006455/0.1277, allocations: 295.7 kB / 0.4947 GB, free: 6.805 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.1278, allocations: 99.61 kB / 0.4948 GB, free: 6.707 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002445/0.1281, allocations: 191 kB / 0.495 GB, free: 6.52 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.1291, allocations: 0.689 MB / 0.4957 GB, free: 5.828 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1291, allocations: 4 kB / 0.4957 GB, free: 5.824 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1291, allocations: 0 / 0.4957 GB, free: 5.824 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.1291, allocations: 0 / 0.4957 GB, free: 5.824 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.005607/0.1347, allocations: 1.398 MB / 0.497 GB, free: 4.391 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1348, allocations: 8.031 kB / 0.497 GB, free: 4.383 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/0.1349, allocations: 74.72 kB / 0.4971 GB, free: 4.301 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.135, allocations: 52.66 kB / 0.4972 GB, free: 4.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000523/0.1355, allocations: 297.2 kB / 0.4974 GB, free: 3.938 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.073e-05/0.1356, allocations: 55.27 kB / 0.4975 GB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.95e-05/0.1357, allocations: 48.38 kB / 0.4975 GB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.1368, allocations: 0.7969 MB / 0.4983 GB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.1369, allocations: 0 / 0.4983 GB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.203e-05/0.1369, allocations: 16 kB / 0.4983 GB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.1369, allocations: 12 kB / 0.4983 GB, free: 2.941 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009883/0.1379, allocations: 0.5584 MB / 0.4989 GB, free: 2.387 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003021/0.1409, allocations: 1.379 MB / 0.5002 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.1423, allocations: 0.6668 MB / 0.5009 GB, free: 284 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006601/0.143, allocations: 338.3 kB / 0.5012 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.405e-05/0.1431, allocations: 12.44 kB / 0.5012 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.471e-05/0.1431, allocations: 43.06 kB / 0.5013 GB, free: 15.88 MB / 382.1 MB Notification: Performance of pre-optimization done (n=62): time 2.415e-06/0.1431, allocations: 0 / 0.5013 GB, free: 15.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=62): time 0.01566/0.1588, allocations: 2.967 MB / 0.5042 GB, free: 12.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/0.1589, allocations: 81.61 kB / 0.5042 GB, free: 12.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003873/0.1592, allocations: 276.1 kB / 0.5045 GB, free: 12.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001058/0.1593, allocations: 41.7 kB / 0.5045 GB, free: 12.48 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.1595, allocations: 181.7 kB / 0.5047 GB, free: 12.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/0.1597, allocations: 222.1 kB / 0.5049 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/0.16, allocations: 122.7 kB / 0.505 GB, free: 11.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1601, allocations: 346.8 kB / 0.5054 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006205/0.1608, allocations: 361.9 kB / 0.5057 GB, free: 11.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007003/0.1615, allocations: 458.2 kB / 0.5062 GB, free: 10.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.1628, allocations: 0.7889 MB / 0.5069 GB, free: 9.996 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1628, allocations: 0 / 0.5069 GB, free: 9.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.007013/0.1698, allocations: 1.708 MB / 0.5086 GB, free: 8.281 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.1698, allocations: 4 kB / 0.5086 GB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1698, allocations: 4 kB / 0.5086 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007117/0.177, allocations: 1.073 MB / 0.5096 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004199/0.1774, allocations: 87.89 kB / 0.5097 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/0.1889, allocations: 5.09 MB / 0.5147 GB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005746/0.1895, allocations: 63.73 kB / 0.5148 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.94e-05/0.1895, allocations: 23.94 kB / 0.5148 GB, free: 1.832 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.0003117/0.1899, allocations: 170.1 kB / 0.5149 GB, free: 1.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.19, allocations: 51.64 kB / 0.515 GB, free: 1.605 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2303/0.4203, allocations: 1.692 MB / 0.5166 GB, free: 29.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.4203, allocations: 8.75 kB / 0.5167 GB, free: 29.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.4203, allocations: 1.5 kB / 0.5167 GB, free: 29.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.4204, allocations: 5.031 kB / 0.5167 GB, free: 29.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00716/0.4275, allocations: 2.273 MB / 0.5189 GB, free: 29.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.4275, allocations: 0.7031 kB / 0.5189 GB, free: 29.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002215/0.4277, allocations: 68.05 kB / 0.5189 GB, free: 29.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006684/0.4344, allocations: 1.056 MB / 0.52 GB, free: 29.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.864e-05/0.4345, allocations: 16.48 kB / 0.52 GB, free: 29.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009453/0.4439, allocations: 5.014 MB / 0.5249 GB, free: 27.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.4439, allocations: 5.281 kB / 0.5249 GB, free: 27.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006634/0.4506, allocations: 1.69 MB / 0.5265 GB, free: 26.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.4507, allocations: 53.12 kB / 0.5266 GB, free: 26.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.013e-05/0.4507, allocations: 11.38 kB / 0.5266 GB, free: 26.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004092/0.4512, allocations: 32.61 kB / 0.5266 GB, free: 26.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/0.4514, allocations: 60.41 kB / 0.5267 GB, free: 26.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.412e-05/0.4514, allocations: 25.78 kB / 0.5267 GB, free: 26.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001858/0.4516, allocations: 189.8 kB / 0.5269 GB, free: 26.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4516, allocations: 0 / 0.5269 GB, free: 26.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007066/0.4523, allocations: 231.9 kB / 0.5271 GB, free: 26.64 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.00689/0.4592, allocations: 2.26 MB / 0.5293 GB, free: 25.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002895/0.4621, allocations: 1.206 MB / 0.5305 GB, free: 24.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.4621, allocations: 1.375 kB / 0.5305 GB, free: 24.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001958/0.4641, allocations: 0.7679 MB / 0.5313 GB, free: 24.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.4646, allocations: 45.31 kB / 0.5313 GB, free: 24.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01839/0.483, allocations: 6.474 MB / 0.5376 GB, free: 21.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.4833, allocations: 232.5 kB / 0.5378 GB, free: 21.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003218/0.4837, allocations: 60.45 kB / 0.5379 GB, free: 21.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/0.4839, allocations: 142.1 kB / 0.538 GB, free: 21.17 MB / 382.1 MB Notification: Performance of SimCode: time 1.363e-06/0.4839, allocations: 0 / 0.538 GB, free: 21.17 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05339/0.5373, allocations: 19.82 MB / 0.5574 GB, free: 7.078 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.58, allocations: 2.5 kB / 0.5574 GB, free: 7.078 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.214254235848784] Failed to read output from testmodel.py, exit status != 0: 13.712675615213811 13.739830537 13.604864534 Calling exit ...