Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.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.0006732/0.0006732, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007217/0.0007217, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 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.8689/0.8689, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.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.6892/0.6892, allocations: 154.6 MB / 414.5 MB, free: 0.8555 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.6193 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.67e-05, allocations: 5.453 kB / 0.6193 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005369/0.005395, allocations: 6.445 MB / 0.6256 GB, free: 6.773 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003515/0.00891, allocations: 3.02 MB / 0.6285 GB, free: 3.742 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000448/0.009358, allocations: 39.62 kB / 0.6286 GB, free: 3.703 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.01067, allocations: 0.9524 MB / 0.6295 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0009622/0.01164, allocations: 0.5318 MB / 0.63 GB, free: 2.215 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008264/0.01246, allocations: 458.7 kB / 0.6305 GB, free: 1.766 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.001156/0.01362, allocations: 1.263 MB / 0.6317 GB, free: 0.4961 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007564/0.01438, allocations: 0.5413 MB / 0.6322 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008047/0.01518, allocations: 0.6546 MB / 0.6329 GB, free: 15.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005552/0.01574, allocations: 482.6 kB / 0.6333 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.913e-05/0.0158, allocations: 68 kB / 0.6334 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005131/0.01632, allocations: 355.1 kB / 0.6337 GB, free: 14.4 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.01653, allocations: 331 kB / 0.634 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002258/0.01675, allocations: 311.2 kB / 0.6343 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0009527/0.01771, allocations: 1.246 MB / 0.6355 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.01771, allocations: 4 kB / 0.6355 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.512e-06/0.01771, allocations: 0 / 0.6355 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.01773, allocations: 4 kB / 0.6356 GB, free: 12.51 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001284/0.01901, allocations: 1.104 MB / 0.6366 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.01905, allocations: 13.47 kB / 0.6366 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008199/0.01987, allocations: 244.1 kB / 0.6369 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006369/0.02051, allocations: 0.543 MB / 0.6374 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.02053, allocations: 49.67 kB / 0.6375 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.024e-05/0.0206, allocations: 64.36 kB / 0.6375 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.02164, allocations: 1.329 MB / 0.6388 GB, free: 8.949 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/0.02166, allocations: 4.125 kB / 0.6388 GB, free: 8.945 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.802e-05/0.02171, allocations: 40.36 kB / 0.6389 GB, free: 8.906 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.599e-05/0.0218, allocations: 89.19 kB / 0.6389 GB, free: 8.816 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007494/0.02255, allocations: 0.7465 MB / 0.6397 GB, free: 8.066 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00295/0.0255, allocations: 4.515 MB / 0.6441 GB, free: 3.395 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006401/0.02614, allocations: 0.5159 MB / 0.6446 GB, free: 2.871 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.02641, allocations: 286.2 kB / 0.6449 GB, free: 2.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.02644, allocations: 16.42 kB / 0.6449 GB, free: 2.574 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.02647, allocations: 39.05 kB / 0.6449 GB, free: 2.527 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=47): time 2.134e-06/0.02647, allocations: 4 kB / 0.6449 GB, free: 2.523 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48): time 0.002208/0.02868, allocations: 1.678 MB / 0.6466 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.02871, allocations: 55.91 kB / 0.6466 GB, free: 0.7578 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003794/0.02909, allocations: 0.5183 MB / 0.6471 GB, free: 236 kB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.02912, allocations: 29.7 kB / 0.6471 GB, free: 200 kB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.02931, allocations: 432 kB / 0.6476 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.169e-05/0.0294, allocations: 178.5 kB / 0.6477 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.02952, allocations: 130.6 kB / 0.6478 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.02963, allocations: 362.8 kB / 0.6482 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/0.02989, allocations: 281.8 kB / 0.6485 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000352/0.03024, allocations: 489 kB / 0.6489 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006595/0.0309, allocations: 0.8164 MB / 0.6497 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.0309, allocations: 0 / 0.6497 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001081/0.03198, allocations: 1.074 MB / 0.6508 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.032, allocations: 8 kB / 0.6508 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.03201, allocations: 8 kB / 0.6508 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004949/0.0325, allocations: 287.2 kB / 0.6511 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.03275, allocations: 123.8 kB / 0.6512 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0039/0.03665, allocations: 6.582 MB / 0.6576 GB, free: 4.816 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003249/0.03698, allocations: 39.91 kB / 0.6576 GB, free: 4.777 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.874e-05/0.03701, allocations: 28.05 kB / 0.6577 GB, free: 4.75 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,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.0002749/0.03728, allocations: 254.6 kB / 0.6579 GB, free: 4.492 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.03735, allocations: 79.5 kB / 0.658 GB, free: 4.414 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009078/0.03826, allocations: 0.874 MB / 0.6588 GB, free: 3.523 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.03826, allocations: 8 kB / 0.6589 GB, free: 3.516 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.03827, allocations: 4 kB / 0.6589 GB, free: 3.512 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.03827, allocations: 3.984 kB / 0.6589 GB, free: 3.508 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.0398, allocations: 1.517 MB / 0.6603 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.0398, allocations: 0 / 0.6603 GB, free: 1.922 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001299/0.03993, allocations: 68 kB / 0.6604 GB, free: 1.855 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004/0.04033, allocations: 275.3 kB / 0.6607 GB, free: 1.574 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.04035, allocations: 15.94 kB / 0.6607 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003567/0.04392, allocations: 6.579 MB / 0.6671 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.04392, allocations: 8 kB / 0.6671 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009008/0.04482, allocations: 0.9702 MB / 0.6681 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.04499, allocations: 111.5 kB / 0.6682 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/0.04503, allocations: 12 kB / 0.6682 GB, free: 9.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.04521, allocations: 23.97 kB / 0.6682 GB, free: 9.398 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.148e-05/0.04529, allocations: 51.8 kB / 0.6683 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.04531, allocations: 20 kB / 0.6683 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002491/0.04556, allocations: 346.8 kB / 0.6686 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.1e-08/0.04556, allocations: 0 / 0.6686 GB, free: 8.992 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005505/0.04611, allocations: 224 kB / 0.6688 GB, free: 8.773 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,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.0001178/0.04623, allocations: 111.1 kB / 0.6689 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00114/0.04737, allocations: 1.232 MB / 0.6701 GB, free: 7.375 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.04737, allocations: 4 kB / 0.6701 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006329/0.04801, allocations: 0.8618 MB / 0.671 GB, free: 6.461 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005667/0.04857, allocations: 199.8 kB / 0.6712 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.05005, allocations: 1.417 MB / 0.6725 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.05032, allocations: 416.8 kB / 0.6729 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.958e-05/0.05042, allocations: 44.5 kB / 0.673 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of SimCode: time 1.042e-06/0.05042, allocations: 0 / 0.673 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of Templates: time 0.2331/0.2835, allocations: 20.89 MB / 0.6934 GB, free: 94.35 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.290505528450012] Failed to read output from testmodel.py, exit status != 0: 0.2892081346362829 0.296581194 0.27710560100000003 Calling exit ...