Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.0007024/0.0007024, allocations: 100.4 kB / 19.71 MB, free: 444 kB / 13.93 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.0007151/0.0007151, allocations: 210.4 kB / 23 MB, free: 2.973 MB / 13.93 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 0.8245/0.8245, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7345/0.7345, allocations: 203.8 MB / 0.5049 GB, free: 10.4 MB / 410.7 MB " [Timeout remaining time 179] 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_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [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.0008576/0.0008576, allocations: 64.98 kB / 0.7194 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4131, allocations: 102 MB / 0.819 GB, free: 1.34 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02597/0.4391, allocations: 33.67 MB / 0.8519 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01299/0.452, allocations: 10.03 MB / 0.8617 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.454, allocations: 190.9 kB / 0.8619 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004181/0.4582, allocations: 3.824 MB / 0.8656 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00346/0.4617, allocations: 2.152 MB / 0.8677 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00295/0.4646, allocations: 1.961 MB / 0.8696 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.006657/0.4713, allocations: 7.972 MB / 0.8774 GB, free: 8.836 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004907/0.4762, allocations: 5.227 MB / 0.8825 GB, free: 4.41 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003717/0.4799, allocations: 3.494 MB / 0.8859 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003021/0.4829, allocations: 3.691 MB / 0.8895 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0006411/0.4835, allocations: 0.6758 MB / 0.8902 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00159/0.4851, allocations: 1.361 MB / 0.8915 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001417/0.4866, allocations: 2.685 MB / 0.8941 GB, free: 8.473 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001872/0.4884, allocations: 2.521 MB / 0.8966 GB, free: 5.941 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.005606/0.494, allocations: 10.47 MB / 0.9068 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.494, allocations: 0 / 0.9068 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.623e-06/0.494, allocations: 0 / 0.9068 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001112/0.4941, allocations: 3.938 kB / 0.9068 GB, free: 11.44 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.0056/0.4997, allocations: 5.463 MB / 0.9122 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.4998, allocations: 12.03 kB / 0.9122 GB, free: 5.898 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002419/0.5022, allocations: 0.985 MB / 0.9131 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003163/0.5054, allocations: 3.136 MB / 0.9162 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/0.5055, allocations: 361.9 kB / 0.9166 GB, free: 1.355 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004032/0.5059, allocations: 464.3 kB / 0.917 GB, free: 0.9023 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007277/0.5132, allocations: 8.667 MB / 0.9255 GB, free: 7.684 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.2e-05/0.5133, allocations: 27.75 kB / 0.9255 GB, free: 7.656 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003161/0.5136, allocations: 208 kB / 0.9257 GB, free: 7.453 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002778/0.5139, allocations: 369.1 kB / 0.926 GB, free: 7.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005791/0.5196, allocations: 5.926 MB / 0.9318 GB, free: 1.148 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01635/0.536, allocations: 22.94 MB / 0.9542 GB, free: 9.539 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.5379, allocations: 1.987 MB / 0.9562 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.5391, allocations: 1.341 MB / 0.9575 GB, free: 6.195 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.031e-05/0.5392, allocations: 17.31 kB / 0.9575 GB, free: 6.176 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.5392, allocations: 55.81 kB / 0.9576 GB, free: 6.113 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=157): time 2.876e-06/0.5392, allocations: 0 / 0.9576 GB, free: 6.113 MB / 0.7292 GB Notification: Performance of matching and sorting (n=160): time 0.007473/0.5467, allocations: 6.644 MB / 0.964 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.5467, allocations: 68.72 kB / 0.9641 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.548, allocations: 1.705 MB / 0.9658 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.577e-05/0.5481, allocations: 49.7 kB / 0.9658 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008663/0.5489, allocations: 2.203 MB / 0.968 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006022/0.5495, allocations: 0.5809 MB / 0.9685 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003708/0.5499, allocations: 404 kB / 0.9689 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.169e-05/0.55, allocations: 301.1 kB / 0.9692 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009988/0.551, allocations: 1.062 MB / 0.9702 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.5523, allocations: 1.764 MB / 0.972 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002638/0.5549, allocations: 3.052 MB / 0.9749 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.228e-06/0.5549, allocations: 8 kB / 0.975 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.003655/0.5586, allocations: 3.891 MB / 0.9788 GB, free: 15.58 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.5586, allocations: 16 kB / 0.9788 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.5586, allocations: 20 kB / 0.9788 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001307/0.56, allocations: 0.9317 MB / 0.9797 GB, free: 14.58 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007597/0.5607, allocations: 423.3 kB / 0.9801 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01224/0.573, allocations: 21.12 MB / 1.001 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007438/0.5737, allocations: 127.8 kB / 1.001 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.693e-05/0.5738, allocations: 95.98 kB / 1.001 GB, free: 7.598 MB / 0.7761 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.00203/0.5758, allocations: 1.648 MB / 1.003 GB, free: 5.938 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.576, allocations: 246.5 kB / 1.003 GB, free: 5.695 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003036/0.579, allocations: 3.233 MB / 1.006 GB, free: 2.414 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.5791, allocations: 16 kB / 1.006 GB, free: 2.398 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.5791, allocations: 8 kB / 1.006 GB, free: 2.391 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.5791, allocations: 11.97 kB / 1.006 GB, free: 2.379 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006285/0.5854, allocations: 6.441 MB / 1.012 GB, free: 11.8 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.5854, allocations: 4 kB / 1.012 GB, free: 11.8 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004355/0.5858, allocations: 212.3 kB / 1.012 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001156/0.587, allocations: 0.9002 MB / 1.013 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.384e-05/0.587, allocations: 32 kB / 1.013 GB, free: 10.62 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/0.599, allocations: 21.08 MB / 1.034 GB, free: 4.309 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.599, allocations: 8.125 kB / 1.034 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00343/0.6024, allocations: 3.352 MB / 1.037 GB, free: 0.8359 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005739/0.603, allocations: 450.2 kB / 1.038 GB, free: 404 kB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000143/0.6031, allocations: 36 kB / 1.038 GB, free: 368 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005118/0.6036, allocations: 91.88 kB / 1.038 GB, free: 276 kB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002299/0.6039, allocations: 148.9 kB / 1.038 GB, free: 124 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-05/0.6039, allocations: 44 kB / 1.038 GB, free: 80 kB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0009166/0.6048, allocations: 1.09 MB / 1.039 GB, free: 14.97 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6048, allocations: 0 / 1.039 GB, free: 14.97 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001765/0.6066, allocations: 0.9023 MB / 1.04 GB, free: 14.07 MB / 0.823 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001777/0.6068, allocations: 165.5 kB / 1.04 GB, free: 13.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003598/0.6104, allocations: 4.295 MB / 1.044 GB, free: 9.449 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6104, allocations: 5 kB / 1.044 GB, free: 9.445 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00208/0.6125, allocations: 2.905 MB / 1.047 GB, free: 6.383 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.6141, allocations: 0.7596 MB / 1.048 GB, free: 5.648 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007733/0.6218, allocations: 8.451 MB / 1.056 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00207/0.6239, allocations: 2.735 MB / 1.059 GB, free: 10.34 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002971/0.6242, allocations: 147.4 kB / 1.059 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of SimCode: time 7.02e-07/0.6242, allocations: 0 / 1.059 GB, free: 10.2 MB / 0.8386 GB Notification: Performance of Templates: time 0.4089/1.033, allocations: 340.6 MB / 1.392 GB, free: 66.74 MB / 0.9167 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.130127100273967] Failed to read output from testmodel.py, exit status != 0: 1.038041001651436 1.043498538 0.548095334 Calling exit ...