Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.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.00131/0.00131, allocations: 96.36 kB / 20.49 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.001441/0.001441, allocations: 210 kB / 23.78 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.604/1.604, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.04624/0.04624, allocations: 6.145 MB / 320.1 MB, free: 12.74 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: translateModel(PowerSysPro.Examples.OneSourceThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads") translateModel(PowerSysPro.Examples.OneSourceThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 43.94 kB / 445.7 MB, free: 4.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1092, allocations: 55.03 MB / 0.489 GB, free: 13.45 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLoads): time 0.003437/0.1126, allocations: 1.942 MB / 0.4909 GB, free: 11.51 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002581/0.1152, allocations: 1.66 MB / 0.4925 GB, free: 9.836 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.1153, allocations: 4 kB / 0.4925 GB, free: 9.832 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004254/0.1157, allocations: 155.1 kB / 0.4926 GB, free: 9.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004313/0.1162, allocations: 178.8 kB / 0.4928 GB, free: 9.504 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.118, allocations: 0.8891 MB / 0.4937 GB, free: 8.613 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005438/0.1186, allocations: 414.1 kB / 0.4941 GB, free: 8.207 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001957/0.1188, allocations: 87.62 kB / 0.4941 GB, free: 8.117 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.1189, allocations: 179.4 kB / 0.4943 GB, free: 7.941 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002969/0.1192, allocations: 219 kB / 0.4945 GB, free: 7.727 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.58e-05/0.1193, allocations: 36 kB / 0.4946 GB, free: 7.691 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004164/0.1197, allocations: 219.9 kB / 0.4948 GB, free: 7.477 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.017e-05/0.1198, allocations: 87.66 kB / 0.4949 GB, free: 7.391 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.12, allocations: 151.2 kB / 0.495 GB, free: 7.242 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007053/0.1207, allocations: 0.5526 MB / 0.4955 GB, free: 6.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1207, allocations: 0 / 0.4955 GB, free: 6.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1207, allocations: 0 / 0.4955 GB, free: 6.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1207, allocations: 4 kB / 0.4955 GB, free: 6.684 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.004027/0.1247, allocations: 1.074 MB / 0.4966 GB, free: 5.574 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.1247, allocations: 15.98 kB / 0.4966 GB, free: 5.559 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.1249, allocations: 44.66 kB / 0.4966 GB, free: 5.516 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004626/0.1253, allocations: 273.4 kB / 0.4969 GB, free: 5.227 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.1254, allocations: 25.03 kB / 0.4969 GB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.914e-05/0.1254, allocations: 28.38 kB / 0.497 GB, free: 5.172 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000869/0.1263, allocations: 0.6425 MB / 0.4976 GB, free: 4.473 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.1263, allocations: 192 / 0.4976 GB, free: 4.473 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.445e-05/0.1264, allocations: 15.94 kB / 0.4976 GB, free: 4.457 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.1264, allocations: 4 kB / 0.4976 GB, free: 4.453 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007042/0.1271, allocations: 422.5 kB / 0.498 GB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002081/0.1291, allocations: 1.038 MB / 0.499 GB, free: 2.965 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.1303, allocations: 0.5045 MB / 0.4995 GB, free: 2.453 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003849/0.1307, allocations: 249.5 kB / 0.4998 GB, free: 2.207 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.499e-05/0.1308, allocations: 16.3 kB / 0.4998 GB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.1308, allocations: 46.88 kB / 0.4998 GB, free: 2.137 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.124e-06/0.1308, allocations: 0 / 0.4998 GB, free: 2.137 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.004737/0.1355, allocations: 1.409 MB / 0.5012 GB, free: 0.7109 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.1356, allocations: 55.41 kB / 0.5012 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.1359, allocations: 277.8 kB / 0.5015 GB, free: 372 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.734e-05/0.136, allocations: 33.7 kB / 0.5015 GB, free: 332 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.1361, allocations: 165 kB / 0.5017 GB, free: 164 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/0.1363, allocations: 166.7 kB / 0.5019 GB, free: 15.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/0.1364, allocations: 94.17 kB / 0.5019 GB, free: 15.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.1366, allocations: 342.8 kB / 0.5023 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004153/0.137, allocations: 264.9 kB / 0.5025 GB, free: 15.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004148/0.1374, allocations: 272.4 kB / 0.5028 GB, free: 15.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009134/0.1384, allocations: 0.5925 MB / 0.5034 GB, free: 14.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.1384, allocations: 0 / 0.5034 GB, free: 14.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00249/0.1409, allocations: 1.011 MB / 0.5044 GB, free: 13.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1409, allocations: 4 kB / 0.5044 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.1409, allocations: 0 / 0.5044 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001947/0.1428, allocations: 430.1 kB / 0.5048 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.1431, allocations: 75.89 kB / 0.5048 GB, free: 12.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007437/0.1506, allocations: 5.639 MB / 0.5103 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000386/0.151, allocations: 47.67 kB / 0.5104 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.621e-05/0.151, allocations: 23.92 kB / 0.5104 GB, free: 6.887 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002199/0.1512, allocations: 153.8 kB / 0.5106 GB, free: 6.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.675e-05/0.1513, allocations: 39.77 kB / 0.5106 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002613/0.1539, allocations: 0.9862 MB / 0.5116 GB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.1539, allocations: 11.92 kB / 0.5116 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.154, allocations: 0 / 0.5116 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/0.154, allocations: 0 / 0.5116 GB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005815/0.1545, allocations: 393.2 kB / 0.5119 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1545, allocations: 0 / 0.5119 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.1548, allocations: 59.91 kB / 0.512 GB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001902/0.1567, allocations: 426.1 kB / 0.5124 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/0.1567, allocations: 12 kB / 0.5124 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2382/0.3949, allocations: 5.581 MB / 0.5179 GB, free: 28.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3949, allocations: 4.094 kB / 0.5179 GB, free: 28.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002223/0.3971, allocations: 1.01 MB / 0.5189 GB, free: 28.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.3972, allocations: 41.94 kB / 0.5189 GB, free: 28.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.616e-05/0.3973, allocations: 10.94 kB / 0.5189 GB, free: 28.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.3976, allocations: 29.59 kB / 0.5189 GB, free: 28.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.3977, allocations: 42.72 kB / 0.519 GB, free: 28.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.3978, allocations: 16.69 kB / 0.519 GB, free: 28.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001967/0.3979, allocations: 201 kB / 0.5192 GB, free: 28.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3979, allocations: 0 / 0.5192 GB, free: 28.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006075/0.3986, allocations: 161.9 kB / 0.5193 GB, free: 28.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001958/0.3988, allocations: 128 kB / 0.5195 GB, free: 28.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001806/0.4006, allocations: 1.044 MB / 0.5205 GB, free: 28.28 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.4006, allocations: 2.281 kB / 0.5205 GB, free: 28.28 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.4018, allocations: 0.7379 MB / 0.5212 GB, free: 27.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.4023, allocations: 54.25 kB / 0.5213 GB, free: 27.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.4035, allocations: 0.7824 MB / 0.522 GB, free: 27.63 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.4037, allocations: 201 kB / 0.5222 GB, free: 27.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001745/0.4039, allocations: 45.19 kB / 0.5223 GB, free: 27.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.525e-05/0.404, allocations: 35.39 kB / 0.5223 GB, free: 27.54 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.404, allocations: 3.875 kB / 0.5223 GB, free: 27.54 MB / 382.1 MB Notification: Performance of Templates: time 0.01722/0.4212, allocations: 10.49 MB / 0.5325 GB, free: 25.68 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLoads.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.303047535999212] Failed to read output from testmodel.py, exit status != 0: 0.42950409499462694 0.442166869 0.31906030500000004 Calling exit ...