Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001366/0.001366, allocations: 80.52 kB / 19.18 MB, free: 2.52 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.001422/0.001422, allocations: 168.9 kB / 22.45 MB, free: 5.371 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.4/1.4, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 1.148/1.148, allocations: 154.7 MB / 413.9 MB, free: 5.176 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 178] 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.284e-06/2.284e-06, allocations: 0 / 0.6187 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.15e-05/4.378e-05, allocations: 6.328 kB / 0.6188 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01716/0.0172, allocations: 13.7 MB / 0.6321 GB, free: 6.801 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01552/0.03272, allocations: 9.827 MB / 0.6417 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001413/0.03414, allocations: 83.25 kB / 0.6418 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004741/0.03888, allocations: 1.675 MB / 0.6434 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005407/0.04428, allocations: 1.852 MB / 0.6453 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001905/0.04619, allocations: 0.7703 MB / 0.646 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003674/0.04986, allocations: 2.766 MB / 0.6487 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/0.05146, allocations: 1.196 MB / 0.6499 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002702/0.05417, allocations: 2.004 MB / 0.6518 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.0557, allocations: 0.9739 MB / 0.6528 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002547/0.05595, allocations: 160 kB / 0.6529 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.0573, allocations: 0.7327 MB / 0.6536 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006028/0.0579, allocations: 0.619 MB / 0.6543 GB, free: 60 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007737/0.05868, allocations: 0.6468 MB / 0.6549 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003231/0.06191, allocations: 2.808 MB / 0.6576 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.06191, allocations: 0 / 0.6576 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.06191, allocations: 0 / 0.6576 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.371e-05/0.06194, allocations: 0 / 0.6576 GB, free: 12.59 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00366/0.0656, allocations: 2.151 MB / 0.6597 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.06564, allocations: 12.03 kB / 0.6597 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01117/0.07681, allocations: 2.121 MB / 0.6618 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00286/0.07967, allocations: 1.224 MB / 0.663 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-05/0.07977, allocations: 86.69 kB / 0.6631 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002709/0.08004, allocations: 112.4 kB / 0.6632 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005989/0.08603, allocations: 3.081 MB / 0.6662 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.607e-05/0.08607, allocations: 15.83 kB / 0.6662 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000173/0.08624, allocations: 51.98 kB / 0.6663 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005984/0.08684, allocations: 194.1 kB / 0.6665 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007401/0.09424, allocations: 2.783 MB / 0.6692 GB, free: 428 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01445/0.1087, allocations: 8.122 MB / 0.6771 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006576/0.1153, allocations: 2.179 MB / 0.6792 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003149/0.1184, allocations: 1.208 MB / 0.6804 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.24e-05/0.1185, allocations: 12.98 kB / 0.6804 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.1185, allocations: 39.56 kB / 0.6805 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=89): time 2.514e-06/0.1185, allocations: 0 / 0.6805 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of matching and sorting (n=153): time 0.05892/0.1775, allocations: 15.99 MB / 0.6961 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/0.1775, allocations: 68.72 kB / 0.6961 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.1792, allocations: 1.035 MB / 0.6972 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002804/0.1794, allocations: 53.7 kB / 0.6972 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006379/0.1801, allocations: 0.7557 MB / 0.6979 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006253/0.1807, allocations: 0.5383 MB / 0.6985 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005905/0.1813, allocations: 287.5 kB / 0.6987 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1814, allocations: 305.1 kB / 0.699 GB, free: 1.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003591/0.185, allocations: 1.51 MB / 0.7005 GB, free: 60 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3499/0.5349, allocations: 1.773 MB / 0.7022 GB, free: 84.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00751/0.5424, allocations: 3.373 MB / 0.7055 GB, free: 83.28 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.5424, allocations: 5.125 kB / 0.7055 GB, free: 83.28 MB / 0.6075 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01295/0.5554, allocations: 5.196 MB / 0.7106 GB, free: 81.68 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.5554, allocations: 8.672 kB / 0.7106 GB, free: 81.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.5554, allocations: 9.719 kB / 0.7106 GB, free: 81.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006623/0.562, allocations: 1.869 MB / 0.7125 GB, free: 81.25 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00199/0.564, allocations: 417.3 kB / 0.7128 GB, free: 81.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02701/0.591, allocations: 22.85 MB / 0.7352 GB, free: 65.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002959/0.594, allocations: 311 kB / 0.7355 GB, free: 65.95 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002477/0.5942, allocations: 69.2 kB / 0.7355 GB, free: 65.94 MB / 0.6075 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009251/0.5952, allocations: 455.4 kB / 0.736 GB, free: 65.66 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000389/0.5955, allocations: 177.5 kB / 0.7361 GB, free: 65.57 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01243/0.608, allocations: 5.237 MB / 0.7412 GB, free: 63.19 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.608, allocations: 15.03 kB / 0.7413 GB, free: 63.19 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.866e-05/0.608, allocations: 17.97 kB / 0.7413 GB, free: 63.19 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/0.608, allocations: 5.109 kB / 0.7413 GB, free: 63.18 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/0.6225, allocations: 6.795 MB / 0.7479 GB, free: 59.26 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.395e-06/0.6225, allocations: 1.844 kB / 0.7479 GB, free: 59.26 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001502/0.624, allocations: 352.2 kB / 0.7483 GB, free: 59.11 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005302/0.6293, allocations: 1.705 MB / 0.7499 GB, free: 58.24 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/0.6294, allocations: 49.83 kB / 0.75 GB, free: 58.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02092/0.6503, allocations: 22.02 MB / 0.7715 GB, free: 35.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.6503, allocations: 7.969 kB / 0.7715 GB, free: 35.86 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01074/0.6611, allocations: 4.809 MB / 0.7762 GB, free: 30.97 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009752/0.6621, allocations: 410.7 kB / 0.7766 GB, free: 30.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/0.6623, allocations: 24 kB / 0.7766 GB, free: 30.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/0.6642, allocations: 323.5 kB / 0.7769 GB, free: 30.23 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004944/0.6647, allocations: 161.8 kB / 0.7771 GB, free: 30.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/0.6648, allocations: 55.95 kB / 0.7771 GB, free: 30.01 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000729/0.6655, allocations: 0.6879 MB / 0.7778 GB, free: 29.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.6655, allocations: 0 / 0.7778 GB, free: 29.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002001/0.6675, allocations: 0.6523 MB / 0.7784 GB, free: 28.67 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002884/0.6678, allocations: 131.7 kB / 0.7785 GB, free: 28.53 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.009515/0.6773, allocations: 4.922 MB / 0.7833 GB, free: 23.51 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.6773, allocations: 0 / 0.7833 GB, free: 23.51 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00579/0.6831, allocations: 3.273 MB / 0.7865 GB, free: 20.15 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/0.6851, allocations: 0.5091 MB / 0.787 GB, free: 19.68 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00735/0.6925, allocations: 4.321 MB / 0.7913 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008471/0.6933, allocations: 0.9721 MB / 0.7922 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001134/0.6944, allocations: 373.8 kB / 0.7926 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/0.6947, allocations: 100.4 kB / 0.7927 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of SimCode: time 7.81e-07/0.6947, allocations: 1.75 kB / 0.7927 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of Templates: time 0.06737/0.7621, allocations: 46.87 MB / 0.8384 GB, free: 15.75 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.417278895154595] Failed to read output from testmodel.py, exit status != 0: 0.7713145278394222 0.78504827 0.720129416 Calling exit ...