Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.001765/0.001765, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002208/0.002208, allocations: 204.8 kB / 22.24 MB, free: 5.262 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.302/1.302, allocations: 203.8 MB / 0.5041 GB, free: 4.656 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 65.78 kB / 0.7186 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5975/0.5996, allocations: 102 MB / 0.8183 GB, free: 1.98 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04097/0.6406, allocations: 31.51 MB / 0.8491 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02046/0.661, allocations: 10.28 MB / 0.8591 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003586/0.6646, allocations: 194.5 kB / 0.8593 GB, free: 7.867 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01124/0.6759, allocations: 3.735 MB / 0.8629 GB, free: 4.125 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006851/0.6827, allocations: 1.956 MB / 0.8648 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007414/0.6901, allocations: 2.126 MB / 0.8669 GB, free: 36 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01106/0.7012, allocations: 7.334 MB / 0.8741 GB, free: 8.672 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01111/0.7123, allocations: 5.099 MB / 0.8791 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007197/0.7195, allocations: 3.287 MB / 0.8823 GB, free: 164 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007099/0.7266, allocations: 3.453 MB / 0.8856 GB, free: 12.69 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.002218/0.7288, allocations: 0.6484 MB / 0.8863 GB, free: 12.04 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005152/0.734, allocations: 1.654 MB / 0.8879 GB, free: 10.39 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.005199/0.7392, allocations: 2.611 MB / 0.8904 GB, free: 7.773 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.008405/0.7476, allocations: 2.342 MB / 0.8927 GB, free: 5.422 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01793/0.7655, allocations: 10.18 MB / 0.9027 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.445e-06/0.7655, allocations: 4 kB / 0.9027 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7655, allocations: 0 / 0.9027 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003733/0.7659, allocations: 0 / 0.9027 GB, free: 11.21 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01581/0.7817, allocations: 5.04 MB / 0.9076 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.7817, allocations: 17.47 kB / 0.9076 GB, free: 6.09 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006673/0.7884, allocations: 0.9735 MB / 0.9086 GB, free: 5.113 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008193/0.7966, allocations: 2.999 MB / 0.9115 GB, free: 2.047 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004383/0.797, allocations: 353.7 kB / 0.9118 GB, free: 1.699 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002507/0.7995, allocations: 456.3 kB / 0.9123 GB, free: 1.254 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02557/0.8251, allocations: 7.972 MB / 0.9201 GB, free: 8.859 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003495/0.8255, allocations: 31.77 kB / 0.9201 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002074/0.8275, allocations: 207.9 kB / 0.9203 GB, free: 8.625 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005212/0.8281, allocations: 312.9 kB / 0.9206 GB, free: 8.316 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01458/0.8426, allocations: 5.702 MB / 0.9261 GB, free: 2.598 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03919/0.8818, allocations: 21.92 MB / 0.9476 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003065/0.8849, allocations: 1.552 MB / 0.9491 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001845/0.8867, allocations: 1.121 MB / 0.9502 GB, free: 9.367 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001136/0.8869, allocations: 17.31 kB / 0.9502 GB, free: 9.348 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/0.8869, allocations: 43.88 kB / 0.9502 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 3.386e-06/0.8869, allocations: 0 / 0.9502 GB, free: 9.297 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.01623/0.9031, allocations: 6.199 MB / 0.9563 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.1e-05/0.9032, allocations: 72.59 kB / 0.9563 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00258/0.9058, allocations: 1.403 MB / 0.9577 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001592/0.9059, allocations: 45.7 kB / 0.9578 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001881/0.9078, allocations: 2.061 MB / 0.9598 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005776/0.9084, allocations: 0.5074 MB / 0.9603 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000651/0.9091, allocations: 351.3 kB / 0.9606 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.9092, allocations: 305.1 kB / 0.9609 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/0.9107, allocations: 0.9135 MB / 0.9618 GB, free: 13.35 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/0.9129, allocations: 1.589 MB / 0.9633 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004648/0.9175, allocations: 2.737 MB / 0.966 GB, free: 8.402 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-05/0.9176, allocations: 8 kB / 0.966 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00765/0.9252, allocations: 3.5 MB / 0.9694 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.9253, allocations: 12 kB / 0.9694 GB, free: 4.836 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-05/0.9253, allocations: 24 kB / 0.9695 GB, free: 4.812 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002964/0.9283, allocations: 0.9003 MB / 0.9703 GB, free: 3.875 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.9296, allocations: 355.3 kB / 0.9707 GB, free: 3.527 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02543/0.955, allocations: 21.47 MB / 0.9916 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/0.9568, allocations: 104 kB / 0.9917 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004081/0.9572, allocations: 88 kB / 0.9918 GB, free: 12.64 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003655/0.9609, allocations: 1.61 MB / 0.9934 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006614/0.9615, allocations: 206.8 kB / 0.9936 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006496/0.968, allocations: 2.955 MB / 0.9965 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/0.968, allocations: 15.94 kB / 0.9965 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.333e-05/0.9681, allocations: 12 kB / 0.9965 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.9681, allocations: 11.97 kB / 0.9965 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.015/0.9831, allocations: 5.999 MB / 1.002 GB, free: 1.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.816e-05/0.9831, allocations: 7.984 kB / 1.002 GB, free: 1.648 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008986/0.984, allocations: 175.7 kB / 1.003 GB, free: 1.477 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002773/0.9868, allocations: 0.8264 MB / 1.003 GB, free: 0.6133 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000153/0.9869, allocations: 36 kB / 1.003 GB, free: 0.5781 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02374/1.011, allocations: 20.32 MB / 1.023 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.303e-06/1.011, allocations: 8 kB / 1.023 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006368/1.017, allocations: 3.006 MB / 1.026 GB, free: 7.891 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001392/1.018, allocations: 374.6 kB / 1.027 GB, free: 7.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004752/1.019, allocations: 28 kB / 1.027 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/1.02, allocations: 75.91 kB / 1.027 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004169/1.02, allocations: 132.6 kB / 1.027 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/1.021, allocations: 40 kB / 1.027 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001637/1.022, allocations: 0.8903 MB / 1.028 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of sort global known variables: time 7e-08/1.022, allocations: 0 / 1.028 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.00335/1.026, allocations: 0.7929 MB / 1.028 GB, free: 5.574 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002853/1.026, allocations: 132.9 kB / 1.029 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.006878/1.033, allocations: 3.926 MB / 1.032 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/1.033, allocations: 4.062 kB / 1.032 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.004358/1.037, allocations: 2.662 MB / 1.035 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003223/1.04, allocations: 0.7164 MB / 1.036 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01452/1.055, allocations: 7.334 MB / 1.043 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004145/1.059, allocations: 2.564 MB / 1.045 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001762/1.061, allocations: 441.2 kB / 1.046 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000328/1.061, allocations: 107.4 kB / 1.046 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of SimCode: time 2.013e-06/1.061, allocations: 8 kB / 1.046 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of Templates: time 0.4969/1.558, allocations: 40.98 MB / 1.086 GB, free: 214.4 MB / 0.8419 GB " [Timeout remaining time 658] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.587355274707079] Failed to read output from testmodel.py, exit status != 0: 1.5673821195960045 1.577297798 0.809194209 Calling exit ...