Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009568/0.0009568, allocations: 80.44 kB / 19.91 MB, free: 4 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.001511/0.001511, allocations: 177.2 kB / 23.2 MB, free: 1.363 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.9451/0.9451, allocations: 177.2 MB / 203.6 MB, free: 5.777 MB / 186.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.7573/0.7573, allocations: 154.7 MB / 414.7 MB, free: 0.7617 MB / 378.7 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 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_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.0008693/0.0008693, allocations: 67.89 kB / 0.6196 GB, free: 13.1 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.5137/0.5145, allocations: 101.9 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02769/0.5422, allocations: 33.21 MB / 0.7516 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01634/0.5586, allocations: 9.928 MB / 0.7613 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00434/0.5629, allocations: 191.9 kB / 0.7615 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.006659/0.5696, allocations: 3.842 MB / 0.7652 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006919/0.5765, allocations: 2.159 MB / 0.7673 GB, free: 8.363 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005623/0.5821, allocations: 1.968 MB / 0.7692 GB, free: 6.742 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01023/0.5923, allocations: 7.976 MB / 0.777 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008923/0.6013, allocations: 5.225 MB / 0.7821 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00952/0.6108, allocations: 4.967 MB / 0.787 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007198/0.618, allocations: 3.698 MB / 0.7906 GB, free: 8.695 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001937/0.6199, allocations: 0.6797 MB / 0.7913 GB, free: 8.016 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004726/0.6246, allocations: 1.361 MB / 0.7926 GB, free: 6.652 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003588/0.6282, allocations: 2.689 MB / 0.7952 GB, free: 3.957 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.005297/0.6335, allocations: 2.514 MB / 0.7977 GB, free: 1.434 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01104/0.6446, allocations: 10.95 MB / 0.8084 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.6446, allocations: 0 / 0.8084 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.666e-06/0.6446, allocations: 0 / 0.8084 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003365/0.6449, allocations: 0 / 0.8084 GB, free: 6.453 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.01242/0.6573, allocations: 5.455 MB / 0.8137 GB, free: 0.9375 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.6574, allocations: 8.031 kB / 0.8137 GB, free: 0.9297 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003732/0.6611, allocations: 1.001 MB / 0.8147 GB, free: 15.92 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005688/0.6668, allocations: 3.14 MB / 0.8177 GB, free: 12.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002542/0.6671, allocations: 357.9 kB / 0.8181 GB, free: 12.37 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001496/0.6685, allocations: 468.3 kB / 0.8185 GB, free: 11.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01423/0.6828, allocations: 8.667 MB / 0.827 GB, free: 2.699 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001024/0.6829, allocations: 23.81 kB / 0.827 GB, free: 2.676 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007582/0.6836, allocations: 212 kB / 0.8272 GB, free: 2.469 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004116/0.684, allocations: 369.1 kB / 0.8276 GB, free: 2.105 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009583/0.6936, allocations: 5.933 MB / 0.8334 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02521/0.7188, allocations: 22.94 MB / 0.8558 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.7214, allocations: 1.992 MB / 0.8577 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.7227, allocations: 1.33 MB / 0.859 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.282e-05/0.7227, allocations: 21.25 kB / 0.859 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.345e-05/0.7228, allocations: 51.88 kB / 0.8591 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=157): time 3.908e-06/0.7228, allocations: 0 / 0.8591 GB, free: 1.133 MB / 0.7292 GB Notification: Performance of matching and sorting (n=160): time 0.009179/0.732, allocations: 6.659 MB / 0.8656 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.732, allocations: 64.72 kB / 0.8656 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/0.7339, allocations: 1.705 MB / 0.8673 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.538e-05/0.734, allocations: 57.7 kB / 0.8674 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009539/0.7349, allocations: 2.199 MB / 0.8695 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003468/0.7353, allocations: 0.581 MB / 0.8701 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004051/0.7357, allocations: 404 kB / 0.8705 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.414e-05/0.7357, allocations: 305.1 kB / 0.8707 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.7368, allocations: 1.062 MB / 0.8718 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.7383, allocations: 1.76 MB / 0.8735 GB, free: 1.898 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002546/0.7409, allocations: 3.049 MB / 0.8765 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.7409, allocations: 4 kB / 0.8765 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.004283/0.7452, allocations: 3.887 MB / 0.8803 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.7452, allocations: 15.94 kB / 0.8803 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/0.7452, allocations: 24 kB / 0.8803 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/0.7466, allocations: 0.9396 MB / 0.8812 GB, free: 9.586 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008335/0.7474, allocations: 427.3 kB / 0.8816 GB, free: 9.168 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0138/0.7613, allocations: 21.12 MB / 0.9023 GB, free: 2.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.7628, allocations: 119.9 kB / 0.9024 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001805/0.763, allocations: 92 kB / 0.9025 GB, free: 2.613 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.00255/0.7656, allocations: 1.649 MB / 0.9041 GB, free: 0.957 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004099/0.766, allocations: 254.4 kB / 0.9043 GB, free: 0.707 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00353/0.7695, allocations: 3.233 MB / 0.9075 GB, free: 13.42 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.7695, allocations: 11.97 kB / 0.9075 GB, free: 13.41 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.7695, allocations: 0 / 0.9075 GB, free: 13.41 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009138/0.7704, allocations: 442.3 kB / 0.9079 GB, free: 12.98 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/0.7707, allocations: 31.98 kB / 0.9079 GB, free: 12.95 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005773/0.7712, allocations: 87.83 kB / 0.908 GB, free: 12.86 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004491/0.7717, allocations: 149 kB / 0.9082 GB, free: 12.71 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003947/0.7756, allocations: 3.376 MB / 0.9115 GB, free: 9.293 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003377/0.779, allocations: 3.665 MB / 0.915 GB, free: 5.613 MB / 0.7917 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001077/0.7801, allocations: 1.049 MB / 0.9161 GB, free: 4.566 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001171/0.7813, allocations: 1.087 MB / 0.9171 GB, free: 3.461 MB / 0.7917 GB Notification: Performance of Backend: time 8.42e-07/0.7813, allocations: 0 / 0.9171 GB, free: 3.461 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.005028/0.7863, allocations: 3.869 MB / 0.9209 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of SimCode: time 0.01119/0.7975, allocations: 8.705 MB / 0.9294 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of Templates: time 0.05963/0.8571, allocations: 48.82 MB / 0.9771 GB, free: 6.801 MB / 0.8542 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.2956821450497955] Failed to read output from testmodel.py, exit status != 0: 0.8636815638747066 0.873364661 0.226682387 Calling exit ...