Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001377/0.001377, allocations: 78.72 kB / 19.18 MB, free: 2.516 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.001391/0.001391, allocations: 175.5 kB / 22.46 MB, free: 5.375 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.384/1.384, allocations: 177.2 MB / 202.8 MB, free: 9.176 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.173/1.173, allocations: 154.7 MB / 413.9 MB, free: 5.16 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.6188 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.73e-05/3.938e-05, allocations: 9.344 kB / 0.6188 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04027/0.04031, allocations: 32.96 MB / 0.651 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0214/0.06171, allocations: 11.36 MB / 0.6621 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004768/0.06648, allocations: 210.4 kB / 0.6623 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01198/0.07846, allocations: 4.259 MB / 0.6664 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007216/0.08568, allocations: 2.098 MB / 0.6685 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006717/0.09239, allocations: 2.438 MB / 0.6709 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01157/0.104, allocations: 8.464 MB / 0.6791 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01052/0.1145, allocations: 6.201 MB / 0.6852 GB, free: 256 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009002/0.1235, allocations: 5.364 MB / 0.6904 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006961/0.1304, allocations: 3.885 MB / 0.6942 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001577/0.132, allocations: 0.7812 MB / 0.695 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004094/0.1361, allocations: 1.922 MB / 0.6968 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003602/0.1397, allocations: 3.152 MB / 0.6999 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.3078/0.4475, allocations: 2.364 MB / 0.7022 GB, free: 32.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01606/0.4636, allocations: 12.24 MB / 0.7142 GB, free: 31.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4636, allocations: 0 / 0.7142 GB, free: 31.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4636, allocations: 0 / 0.7142 GB, free: 31.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0004414/0.464, allocations: 2.531 kB / 0.7142 GB, free: 31.82 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02144/0.4855, allocations: 5.858 MB / 0.7199 GB, free: 29.65 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.4855, allocations: 10.97 kB / 0.7199 GB, free: 29.65 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00756/0.4931, allocations: 1.1 MB / 0.721 GB, free: 29.33 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009301/0.5024, allocations: 3.42 MB / 0.7243 GB, free: 28.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003996/0.5028, allocations: 413.5 kB / 0.7247 GB, free: 28.65 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002849/0.5056, allocations: 0.5404 MB / 0.7253 GB, free: 28.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02635/0.532, allocations: 9.377 MB / 0.7344 GB, free: 27.28 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002444/0.5322, allocations: 33.44 kB / 0.7344 GB, free: 27.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001681/0.5339, allocations: 236.2 kB / 0.7347 GB, free: 27.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004467/0.5343, allocations: 353 kB / 0.735 GB, free: 27.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0159/0.5503, allocations: 6.824 MB / 0.7417 GB, free: 25.36 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03779/0.588, allocations: 24.22 MB / 0.7653 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00297/0.591, allocations: 2.296 MB / 0.7676 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002136/0.5932, allocations: 1.768 MB / 0.7693 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.838e-05/0.5932, allocations: 25.62 kB / 0.7693 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.5933, allocations: 51.62 kB / 0.7694 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=179): time 4.499e-06/0.5933, allocations: 0 / 0.7694 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=182): time 0.02267/0.616, allocations: 9.678 MB / 0.7788 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.616, allocations: 74.36 kB / 0.7789 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002191/0.6182, allocations: 1.442 MB / 0.7803 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002098/0.6184, allocations: 57.52 kB / 0.7804 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001682/0.6201, allocations: 2.317 MB / 0.7826 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007112/0.6208, allocations: 0.657 MB / 0.7833 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006617/0.6215, allocations: 418.9 kB / 0.7837 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.6216, allocations: 301.1 kB / 0.7839 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0016/0.6232, allocations: 1.176 MB / 0.7851 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002354/0.6255, allocations: 1.884 MB / 0.7869 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004642/0.6302, allocations: 3.37 MB / 0.7902 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.017e-05/0.6302, allocations: 8 kB / 0.7902 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008517/0.6387, allocations: 4.532 MB / 0.7947 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.6388, allocations: 12 kB / 0.7947 GB, free: 1.973 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-05/0.6388, allocations: 29.47 kB / 0.7947 GB, free: 1.945 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004017/0.6428, allocations: 1.581 MB / 0.7962 GB, free: 372 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.6442, allocations: 358.1 kB / 0.7966 GB, free: 44 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02533/0.6695, allocations: 17.8 MB / 0.814 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002297/0.6718, allocations: 119.9 kB / 0.8141 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000235/0.6721, allocations: 96 kB / 0.8142 GB, free: 13.69 MB / 0.6544 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004457/0.6765, allocations: 1.893 MB / 0.816 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005503/0.6771, allocations: 234.6 kB / 0.8162 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007589/0.6847, allocations: 4.032 MB / 0.8202 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-05/0.6847, allocations: 24.59 kB / 0.8202 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.947e-05/0.6847, allocations: 17.22 kB / 0.8202 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/0.6847, allocations: 7.969 kB / 0.8202 GB, free: 7.523 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0153/0.7, allocations: 7.842 MB / 0.8279 GB, free: 15.69 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.7, allocations: 4 kB / 0.8279 GB, free: 15.68 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008165/0.7009, allocations: 184.8 kB / 0.8281 GB, free: 15.51 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003486/0.7043, allocations: 1.353 MB / 0.8294 GB, free: 14.16 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001227/0.7045, allocations: 37.53 kB / 0.8294 GB, free: 14.12 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0224/0.7269, allocations: 16.6 MB / 0.8456 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/0.7269, allocations: 4 kB / 0.8456 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007252/0.7341, allocations: 4.015 MB / 0.8496 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/0.7354, allocations: 454.5 kB / 0.85 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002866/0.7357, allocations: 39.95 kB / 0.85 GB, free: 8.621 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009194/0.7366, allocations: 91.89 kB / 0.8501 GB, free: 8.531 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004951/0.7371, allocations: 168.9 kB / 0.8503 GB, free: 8.375 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.7372, allocations: 48 kB / 0.8503 GB, free: 8.328 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001356/0.7386, allocations: 0.9271 MB / 0.8512 GB, free: 7.41 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7386, allocations: 4 kB / 0.8512 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003298/0.7419, allocations: 0.9805 MB / 0.8522 GB, free: 6.426 MB / 0.6856 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002755/0.7421, allocations: 141.1 kB / 0.8523 GB, free: 6.285 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.007027/0.7492, allocations: 4.158 MB / 0.8564 GB, free: 2.195 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/0.7492, allocations: 1 kB / 0.8564 GB, free: 2.195 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.004607/0.7538, allocations: 2.582 MB / 0.8589 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003608/0.7574, allocations: 0.7572 MB / 0.8597 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01883/0.7762, allocations: 8.846 MB / 0.8683 GB, free: 5.984 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004894/0.7811, allocations: 3.039 MB / 0.8713 GB, free: 2.902 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001676/0.7828, allocations: 447.1 kB / 0.8717 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003284/0.7831, allocations: 112.5 kB / 0.8718 GB, free: 2.348 MB / 0.7012 GB Notification: Performance of SimCode: time 1.473e-06/0.7831, allocations: 0.5469 kB / 0.8718 GB, free: 2.348 MB / 0.7012 GB Notification: Performance of Templates: time 0.07946/0.8626, allocations: 44.8 MB / 0.9155 GB, free: 6.438 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.478309366852045] Failed to read output from testmodel.py, exit status != 0: 0.8719114921987057 0.8854405200000001 0.418628698 Calling exit ...