Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.0007373/0.0007373, allocations: 96.36 kB / 19.7 MB, free: 456 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.0008525/0.0008525, allocations: 211.5 kB / 23 MB, free: 2.969 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.8977/0.8977, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7387/0.7387, allocations: 203.5 MB / 0.5046 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [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.0008433/0.0008433, allocations: 62.41 kB / 0.719 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5009/0.5017, allocations: 102 MB / 0.8186 GB, free: 1.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02912/0.5309, allocations: 36.41 MB / 0.8542 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01522/0.5461, allocations: 11.13 MB / 0.865 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002822/0.5489, allocations: 203.8 kB / 0.8652 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004899/0.5538, allocations: 4.376 MB / 0.8695 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.00451/0.5583, allocations: 2.332 MB / 0.8718 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003718/0.562, allocations: 2.171 MB / 0.8739 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.008385/0.5704, allocations: 9.288 MB / 0.883 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006102/0.5765, allocations: 6.325 MB / 0.8892 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004708/0.5812, allocations: 4.129 MB / 0.8932 GB, free: 9.344 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003795/0.585, allocations: 4.458 MB / 0.8975 GB, free: 4.871 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0007537/0.5858, allocations: 0.8281 MB / 0.8984 GB, free: 4.043 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001937/0.5877, allocations: 1.494 MB / 0.8998 GB, free: 2.547 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001843/0.5895, allocations: 3.235 MB / 0.903 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002392/0.5919, allocations: 2.973 MB / 0.9059 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007306/0.5992, allocations: 12.41 MB / 0.918 GB, free: 15.87 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.5993, allocations: 4 kB / 0.918 GB, free: 15.87 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.204e-06/0.5993, allocations: 0 / 0.918 GB, free: 15.87 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001334/0.5994, allocations: 0 / 0.918 GB, free: 15.87 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.007/0.6064, allocations: 6.387 MB / 0.9242 GB, free: 9.418 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.6064, allocations: 12.03 kB / 0.9242 GB, free: 9.406 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002668/0.6091, allocations: 1.098 MB / 0.9253 GB, free: 8.305 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003774/0.6129, allocations: 3.576 MB / 0.9288 GB, free: 4.668 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/0.6131, allocations: 427.7 kB / 0.9292 GB, free: 4.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004774/0.6135, allocations: 0.5433 MB / 0.9297 GB, free: 3.707 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00921/0.6227, allocations: 10.29 MB / 0.9398 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.708e-05/0.6228, allocations: 27.83 kB / 0.9398 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003596/0.6232, allocations: 248 kB / 0.9401 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003238/0.6235, allocations: 418.9 kB / 0.9405 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007272/0.6308, allocations: 7.116 MB / 0.9474 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02061/0.6514, allocations: 25.35 MB / 0.9722 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002814/0.6542, allocations: 2.902 MB / 0.975 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/0.6559, allocations: 1.93 MB / 0.9769 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.247e-05/0.656, allocations: 22 kB / 0.9769 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.6561, allocations: 60.56 kB / 0.977 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=209): time 3.256e-06/0.6561, allocations: 0 / 0.977 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of matching and sorting (n=212): time 0.01378/0.6698, allocations: 10.25 MB / 0.987 GB, free: 7.883 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.6699, allocations: 73.41 kB / 0.987 GB, free: 7.797 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.6716, allocations: 1.833 MB / 0.9888 GB, free: 5.934 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 9.543e-05/0.6717, allocations: 65.7 kB / 0.9889 GB, free: 5.863 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001004/0.6727, allocations: 2.477 MB / 0.9913 GB, free: 3.363 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.00041/0.6731, allocations: 0.7746 MB / 0.9921 GB, free: 2.582 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004583/0.6736, allocations: 481.5 kB / 0.9925 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.311e-05/0.6736, allocations: 305.1 kB / 0.9928 GB, free: 1.805 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/0.6749, allocations: 1.372 MB / 0.9942 GB, free: 440 kB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001694/0.6766, allocations: 2.112 MB / 0.9962 GB, free: 14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003029/0.6796, allocations: 3.766 MB / 0.9999 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.6797, allocations: 8 kB / 0.9999 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.004999/0.6847, allocations: 5.008 MB / 1.005 GB, free: 4.891 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/0.6847, allocations: 16 kB / 1.005 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/0.6847, allocations: 20 kB / 1.005 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002104/0.6868, allocations: 1.579 MB / 1.006 GB, free: 3.27 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008748/0.6877, allocations: 459.2 kB / 1.007 GB, free: 2.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01426/0.7019, allocations: 17.8 MB / 1.024 GB, free: 0.6133 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.7033, allocations: 143.9 kB / 1.024 GB, free: 484 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.7035, allocations: 104 kB / 1.024 GB, free: 380 kB / 0.7917 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002852/0.7063, allocations: 1.949 MB / 1.026 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002863/0.7066, allocations: 278.3 kB / 1.027 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004437/0.711, allocations: 4.393 MB / 1.031 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.7111, allocations: 20 kB / 1.031 GB, free: 9.691 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.192e-05/0.7111, allocations: 16 kB / 1.031 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.7111, allocations: 7.969 kB / 1.031 GB, free: 9.668 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00925/0.7203, allocations: 8.358 MB / 1.039 GB, free: 1.191 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.7203, allocations: 4 kB / 1.039 GB, free: 1.188 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005264/0.7209, allocations: 239.7 kB / 1.039 GB, free: 0.9531 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001844/0.7227, allocations: 1.419 MB / 1.041 GB, free: 15.52 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.159e-05/0.7228, allocations: 40 kB / 1.041 GB, free: 15.48 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01381/0.7366, allocations: 17.78 MB / 1.058 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.7366, allocations: 8 kB / 1.058 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004736/0.7414, allocations: 4.478 MB / 1.062 GB, free: 8.711 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008517/0.7422, allocations: 0.5488 MB / 1.063 GB, free: 8.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001671/0.7424, allocations: 40 kB / 1.063 GB, free: 8.121 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006544/0.743, allocations: 115.9 kB / 1.063 GB, free: 8.008 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003322/0.7434, allocations: 197.3 kB / 1.063 GB, free: 7.816 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.572e-05/0.7435, allocations: 56 kB / 1.063 GB, free: 7.762 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001181/0.7446, allocations: 1.168 MB / 1.065 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.7446, allocations: 0 / 1.065 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002361/0.747, allocations: 1.133 MB / 1.066 GB, free: 5.445 MB / 0.8386 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002328/0.7472, allocations: 161.1 kB / 1.066 GB, free: 5.281 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004496/0.7517, allocations: 4.556 MB / 1.07 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/0.7517, allocations: 4 kB / 1.07 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002603/0.7543, allocations: 2.797 MB / 1.073 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/0.7561, allocations: 0.8213 MB / 1.074 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01171/0.7678, allocations: 10.33 MB / 1.084 GB, free: 2.613 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002906/0.7707, allocations: 3.252 MB / 1.087 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003727/0.7711, allocations: 155.4 kB / 1.087 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of SimCode: time 1.483e-06/0.7711, allocations: 0 / 1.087 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of Templates: time 0.4737/1.245, allocations: 173 MB / 1.256 GB, free: 207.3 MB / 0.9167 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 14.935836957767606] Failed to read output from testmodel.py, exit status != 0: 1.2502926532179117 1.255783617 0.655203564 Calling exit ...