Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.VariableLoad.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.001243/0.001243, allocations: 73.64 kB / 19.98 MB, free: 1.73 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.001675/0.001675, allocations: 172 kB / 23.26 MB, free: 4.855 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.478/1.478, allocations: 177.1 MB / 203.6 MB, free: 9.164 MB / 190.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.04146/0.04146, allocations: 4.476 MB / 264.4 MB, free: 12.21 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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") translateModel(PowerSysPro.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.VariableLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 390.1 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.633e-05/3.84e-05, allocations: 2.281 kB / 390.1 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.VariableLoad): time 0.004195/0.004234, allocations: 2.224 MB / 392.3 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004035/0.008269, allocations: 2.755 MB / 395.1 MB, free: 7.621 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.008416, allocations: 4 kB / 395.1 MB, free: 7.617 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000542/0.008958, allocations: 166.8 kB / 395.3 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009284/0.009886, allocations: 338 kB / 395.6 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002363/0.01225, allocations: 1.188 MB / 396.8 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006052/0.01285, allocations: 433.9 kB / 397.2 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.01306, allocations: 85.25 kB / 397.3 MB, free: 5.426 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003069/0.01337, allocations: 243.4 kB / 397.5 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002969/0.01367, allocations: 155.5 kB / 397.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.539e-05/0.01373, allocations: 32 kB / 397.7 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006655/0.0144, allocations: 375.4 kB / 398.1 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.01452, allocations: 91.61 kB / 398.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.01469, allocations: 131.7 kB / 398.3 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009801/0.01567, allocations: 0.7205 MB / 399 MB, free: 3.695 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.01567, allocations: 0 / 399 MB, free: 3.695 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.01568, allocations: 0 / 399 MB, free: 3.695 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.01569, allocations: 0 / 399 MB, free: 3.695 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.004636/0.02032, allocations: 1.183 MB / 400.2 MB, free: 2.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.02037, allocations: 11.97 kB / 400.2 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.02054, allocations: 48.66 kB / 400.2 MB, free: 2.422 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005586/0.02109, allocations: 260.7 kB / 400.5 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.191e-05/0.02119, allocations: 58.92 kB / 400.6 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.088e-05/0.02126, allocations: 32.31 kB / 400.6 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.0223, allocations: 0.6156 MB / 401.2 MB, free: 1.367 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.02232, allocations: 3.938 kB / 401.2 MB, free: 1.363 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-05/0.02237, allocations: 12 kB / 401.2 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.02238, allocations: 4 kB / 401.2 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006899/0.02307, allocations: 398.5 kB / 401.6 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002308/0.02538, allocations: 1.03 MB / 402.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009969/0.02638, allocations: 461.9 kB / 403.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003758/0.02675, allocations: 224.7 kB / 403.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.079e-05/0.02683, allocations: 12 kB / 403.3 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007289/0.02756, allocations: 455.6 kB / 403.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 2.335e-06/0.02756, allocations: 0 / 403.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=43): time 0.004616/0.03218, allocations: 1.268 MB / 405 MB, free: 13.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.618e-05/0.03227, allocations: 106.8 kB / 405.1 MB, free: 13.3 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004083/0.03267, allocations: 296.2 kB / 405.4 MB, free: 13.01 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.52e-05/0.03274, allocations: 41.7 kB / 405.5 MB, free: 12.96 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.03289, allocations: 173 kB / 405.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.03305, allocations: 150.7 kB / 405.8 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.03325, allocations: 90.17 kB / 405.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.03343, allocations: 350.7 kB / 406.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000449/0.03388, allocations: 256.9 kB / 406.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005253/0.0344, allocations: 367.4 kB / 406.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009539/0.03536, allocations: 0.5613 MB / 407.4 MB, free: 11 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.03536, allocations: 0 / 407.4 MB, free: 11 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002189/0.03755, allocations: 0.908 MB / 408.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.03757, allocations: 4 kB / 408.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.03758, allocations: 0 / 408.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002931/0.04051, allocations: 0.6125 MB / 408.9 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/0.04083, allocations: 71.91 kB / 409 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.04274, allocations: 1.079 MB / 410.1 MB, free: 8.297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/0.04315, allocations: 47.66 kB / 410.1 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.038e-05/0.0432, allocations: 19.94 kB / 410.1 MB, free: 8.23 MB / 334.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: 3 (varLoad.degradedMode,$PRE.varLoad.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {(7,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002729/0.04347, allocations: 161.8 kB / 410.3 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.316e-05/0.04356, allocations: 43.7 kB / 410.3 MB, free: 8.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.04512, allocations: 0.7676 MB / 411.1 MB, free: 7.234 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.04513, allocations: 4 kB / 411.1 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.04513, allocations: 0 / 411.1 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.04514, allocations: 0 / 411.1 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005707/0.04571, allocations: 397.9 kB / 411.5 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.04571, allocations: 0 / 411.5 MB, free: 6.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001953/0.04591, allocations: 51.97 kB / 411.5 MB, free: 6.762 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002772/0.04868, allocations: 0.5849 MB / 412.1 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.423e-05/0.04872, allocations: 19.86 kB / 412.1 MB, free: 6.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001777/0.0505, allocations: 1.074 MB / 413.2 MB, free: 5.059 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.0505, allocations: 0 / 413.2 MB, free: 5.059 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.05179, allocations: 0.7305 MB / 414 MB, free: 4.309 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.221e-05/0.05186, allocations: 35.7 kB / 414 MB, free: 4.273 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.983e-05/0.05193, allocations: 12 kB / 414 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003357/0.05227, allocations: 23.98 kB / 414 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.05237, allocations: 32.44 kB / 414.1 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-05/0.05242, allocations: 19.98 kB / 414.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000277/0.0527, allocations: 211.1 kB / 414.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.0527, allocations: 0 / 414.3 MB, free: 3.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005229/0.05322, allocations: 151.8 kB / 414.4 MB, free: 3.832 MB / 334.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: 2 ($whenCondition1,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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 {(7,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001906/0.05512, allocations: 498.2 kB / 414.9 MB, free: 3.527 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001927/0.05705, allocations: 0.6816 MB / 415.6 MB, free: 2.848 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.706e-06/0.05706, allocations: 4 kB / 415.6 MB, free: 2.844 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.05833, allocations: 382.7 kB / 416 MB, free: 2.469 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.05875, allocations: 47.88 kB / 416 MB, free: 2.418 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.06033, allocations: 0.7427 MB / 416.8 MB, free: 1.652 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.06052, allocations: 186.7 kB / 416.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002134/0.06073, allocations: 54.92 kB / 417 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.06085, allocations: 48.41 kB / 417 MB, free: 1.348 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.06085, allocations: 4 kB / 417 MB, free: 1.344 MB / 334.1 MB Notification: Performance of Templates: time 0.01554/0.07639, allocations: 7.646 MB / 424.7 MB, free: 9.762 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.VariableLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.VariableLoad.sim & ./PowerSysPro_PowerSysPro.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.VariableLoad.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.728179760277271] Failed to read output from testmodel.py, exit status != 0: 0.08561929315328598 0.101444483 0.08256263800000001 Calling exit ...