Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.001335/0.001335, allocations: 79.36 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.001532/0.001532, allocations: 160.4 kB / 22.46 MB, free: 5.379 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.422/1.422, allocations: 177.1 MB / 202.8 MB, free: 9.152 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.233/1.233, allocations: 154.6 MB / 413.8 MB, free: 5.211 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.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.425e-06/2.425e-06, allocations: 0 / 0.6186 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.236e-05/3.478e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01334/0.01337, allocations: 9.47 MB / 0.6278 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006539/0.01991, allocations: 3.119 MB / 0.6309 GB, free: 7.902 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009462/0.02086, allocations: 43.69 kB / 0.6309 GB, free: 7.859 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.02305, allocations: 0.6139 MB / 0.6315 GB, free: 7.242 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002137/0.02519, allocations: 0.8004 MB / 0.6323 GB, free: 6.438 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002061/0.02725, allocations: 0.7592 MB / 0.6331 GB, free: 5.684 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004393/0.03164, allocations: 3.042 MB / 0.636 GB, free: 2.633 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002819/0.03446, allocations: 1.419 MB / 0.6374 GB, free: 1.168 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00364/0.0381, allocations: 1.735 MB / 0.6391 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002977/0.04108, allocations: 1.567 MB / 0.6406 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006732/0.04175, allocations: 244 kB / 0.6409 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.0432, allocations: 479.3 kB / 0.6413 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001895/0.04509, allocations: 1.154 MB / 0.6424 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001939/0.04703, allocations: 0.7875 MB / 0.6432 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005576/0.05261, allocations: 3.791 MB / 0.6469 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.05261, allocations: 0 / 0.6469 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.794e-06/0.05262, allocations: 0 / 0.6469 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001395/0.05276, allocations: 0 / 0.6469 GB, free: 7.406 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.006309/0.05906, allocations: 2.1 MB / 0.649 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.05911, allocations: 8.031 kB / 0.649 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009844/0.06896, allocations: 1.361 MB / 0.6503 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003292/0.07225, allocations: 1.261 MB / 0.6515 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.07238, allocations: 115.3 kB / 0.6516 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00073/0.07311, allocations: 148.3 kB / 0.6518 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007956/0.08107, allocations: 3.512 MB / 0.6552 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.15e-05/0.08113, allocations: 8.125 kB / 0.6552 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004129/0.08154, allocations: 68.33 kB / 0.6553 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002974/0.08184, allocations: 215.1 kB / 0.6555 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006211/0.08805, allocations: 3.116 MB / 0.6585 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01863/0.1067, allocations: 9.814 MB / 0.6681 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002916/0.1096, allocations: 1.613 MB / 0.6697 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002212/0.1118, allocations: 1.327 MB / 0.671 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001016/0.1119, allocations: 9 kB / 0.671 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.314e-05/0.112, allocations: 47.5 kB / 0.671 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=104): time 3.396e-06/0.112, allocations: 0 / 0.671 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=183): time 0.4707/0.5827, allocations: 36.18 MB / 0.7064 GB, free: 83.37 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.5827, allocations: 77.55 kB / 0.7065 GB, free: 83.3 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.5842, allocations: 1.043 MB / 0.7075 GB, free: 82.92 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002383/0.5844, allocations: 51.61 kB / 0.7075 GB, free: 82.87 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004134/0.5848, allocations: 0.8054 MB / 0.7083 GB, free: 82.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004524/0.5853, allocations: 0.6389 MB / 0.7089 GB, free: 82.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007228/0.586, allocations: 369.7 kB / 0.7093 GB, free: 82 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 3.593e-05/0.586, allocations: 301.8 kB / 0.7096 GB, free: 81.7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002349/0.5884, allocations: 1.928 MB / 0.7115 GB, free: 81.04 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002602/0.591, allocations: 2.287 MB / 0.7137 GB, free: 80.01 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005808/0.5968, allocations: 4.392 MB / 0.718 GB, free: 78.11 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/0.5968, allocations: 2.594 kB / 0.718 GB, free: 78.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01915/0.6159, allocations: 8.876 MB / 0.7266 GB, free: 74.76 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.616, allocations: 17.23 kB / 0.7267 GB, free: 74.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.616, allocations: 10.38 kB / 0.7267 GB, free: 74.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01659/0.6326, allocations: 4.964 MB / 0.7315 GB, free: 72.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008343/0.6334, allocations: 188.1 kB / 0.7317 GB, free: 72.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04652/0.6799, allocations: 37.81 MB / 0.7686 GB, free: 39.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002019/0.6819, allocations: 99.89 kB / 0.7687 GB, free: 39.86 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001998/0.6821, allocations: 71.98 kB / 0.7688 GB, free: 39.79 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001046/0.6832, allocations: 0.8062 MB / 0.7696 GB, free: 38.98 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002821/0.6835, allocations: 143.1 kB / 0.7697 GB, free: 38.84 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01768/0.7012, allocations: 8.744 MB / 0.7782 GB, free: 30.06 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.7012, allocations: 16 kB / 0.7783 GB, free: 30.04 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.374e-05/0.7012, allocations: 32.5 kB / 0.7783 GB, free: 30.02 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-05/0.7012, allocations: 11.97 kB / 0.7783 GB, free: 30 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02242/0.7237, allocations: 12.38 MB / 0.7904 GB, free: 17.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.039e-05/0.7237, allocations: 11.66 kB / 0.7904 GB, free: 17.56 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004713/0.7242, allocations: 123.8 kB / 0.7905 GB, free: 17.44 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01557/0.7397, allocations: 4.831 MB / 0.7952 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002554/0.74, allocations: 32 kB / 0.7953 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05498/0.795, allocations: 35.76 MB / 0.8302 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.795, allocations: 8 kB / 0.8302 GB, free: 8.422 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02164/0.8166, allocations: 8.448 MB / 0.8385 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001578/0.8182, allocations: 0.5756 MB / 0.839 GB, free: 15.31 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003162/0.8185, allocations: 35.95 kB / 0.839 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0014/0.8199, allocations: 95.88 kB / 0.8391 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009065/0.8208, allocations: 173.5 kB / 0.8393 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001688/0.821, allocations: 44 kB / 0.8393 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001085/0.8221, allocations: 0.7255 MB / 0.8401 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.8221, allocations: 0 / 0.8401 GB, free: 14.24 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00325/0.8253, allocations: 1.004 MB / 0.841 GB, free: 13.23 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003433/0.8257, allocations: 146.6 kB / 0.8412 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.01092/0.8366, allocations: 5.737 MB / 0.8468 GB, free: 7.305 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.8366, allocations: 7.938 kB / 0.8468 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.008311/0.8449, allocations: 3.765 MB / 0.8505 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.8464, allocations: 225.4 kB / 0.8507 GB, free: 3.273 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008565/0.8549, allocations: 5.158 MB / 0.8557 GB, free: 14.08 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001755/0.8567, allocations: 1.283 MB / 0.857 GB, free: 12.75 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007792/0.8575, allocations: 345.9 kB / 0.8573 GB, free: 12.42 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.8577, allocations: 64.5 kB / 0.8574 GB, free: 12.36 MB / 0.67 GB Notification: Performance of SimCode: time 6.81e-07/0.8577, allocations: 0 / 0.8574 GB, free: 12.36 MB / 0.67 GB Notification: Performance of Templates: time 0.09539/0.9531, allocations: 63.9 MB / 0.9198 GB, free: 12.4 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.6582642793655396] Failed to read output from testmodel.py, exit status != 0: 0.962959811091423 0.977532842 0.921677488 Calling exit ...