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.001297/0.001297, allocations: 78.56 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.001484/0.001484, allocations: 164.1 kB / 22.46 MB, free: 5.367 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.164 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.209/1.209, allocations: 154.7 MB / 413.9 MB, free: 5.137 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_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: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6188 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.608e-05, allocations: 2.281 kB / 0.6188 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04016/0.04018, allocations: 32.96 MB / 0.651 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01944/0.05962, allocations: 9.859 MB / 0.6606 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003702/0.06332, allocations: 190.6 kB / 0.6608 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01132/0.07464, allocations: 3.829 MB / 0.6645 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007762/0.08241, allocations: 2.148 MB / 0.6666 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005818/0.08822, allocations: 1.982 MB / 0.6685 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01205/0.1003, allocations: 7.983 MB / 0.6763 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01024/0.1105, allocations: 5.249 MB / 0.6815 GB, free: 4.039 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009671/0.1202, allocations: 4.857 MB / 0.6862 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006721/0.1269, allocations: 3.445 MB / 0.6896 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002032/0.1289, allocations: 0.6797 MB / 0.6902 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005071/0.134, allocations: 1.361 MB / 0.6916 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004612/0.1386, allocations: 2.712 MB / 0.6942 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.006598/0.1452, allocations: 2.16 MB / 0.6963 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.3526/0.4978, allocations: 10.58 MB / 0.7066 GB, free: 36.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.4978, allocations: 0 / 0.7066 GB, free: 36.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4978, allocations: 1.094 kB / 0.7066 GB, free: 36.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0003816/0.4982, allocations: 2.344 kB / 0.7066 GB, free: 36.43 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.02276/0.521, allocations: 5.46 MB / 0.712 GB, free: 34.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.521, allocations: 9.734 kB / 0.712 GB, free: 34.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007571/0.5286, allocations: 1.008 MB / 0.713 GB, free: 34.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009295/0.5379, allocations: 3.132 MB / 0.716 GB, free: 33.45 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004471/0.5384, allocations: 357.6 kB / 0.7164 GB, free: 33.44 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00308/0.5414, allocations: 465.6 kB / 0.7168 GB, free: 33.44 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02675/0.5682, allocations: 8.662 MB / 0.7253 GB, free: 31.47 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004079/0.5686, allocations: 19.92 kB / 0.7253 GB, free: 31.46 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002831/0.5714, allocations: 217.7 kB / 0.7255 GB, free: 31.46 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007204/0.5721, allocations: 371.1 kB / 0.7259 GB, free: 31.45 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01585/0.588, allocations: 5.926 MB / 0.7316 GB, free: 31.4 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03643/0.6244, allocations: 22.91 MB / 0.754 GB, free: 16.12 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002979/0.6274, allocations: 1.99 MB / 0.756 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.629, allocations: 1.331 MB / 0.7573 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.6291, allocations: 16.28 kB / 0.7573 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.6292, allocations: 60.53 kB / 0.7573 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=157): time 3.757e-06/0.6292, allocations: 0 / 0.7573 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=160): time 0.01235/0.6415, allocations: 6.646 MB / 0.7638 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.6416, allocations: 68.28 kB / 0.7639 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002322/0.6439, allocations: 1.708 MB / 0.7656 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001407/0.644, allocations: 53.8 kB / 0.7656 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008899/0.6449, allocations: 2.194 MB / 0.7678 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004194/0.6453, allocations: 0.5827 MB / 0.7683 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006441/0.646, allocations: 405.8 kB / 0.7687 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.359e-05/0.646, allocations: 307.4 kB / 0.769 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.6475, allocations: 1.059 MB / 0.77 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001665/0.6492, allocations: 1.767 MB / 0.7718 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003038/0.6522, allocations: 3.047 MB / 0.7747 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.09e-05/0.6522, allocations: 3.938 kB / 0.7747 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005429/0.6576, allocations: 3.889 MB / 0.7785 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.6577, allocations: 15.75 kB / 0.7786 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.649e-05/0.6577, allocations: 23.72 kB / 0.7786 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002201/0.6599, allocations: 0.9303 MB / 0.7795 GB, free: 92 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.6613, allocations: 432.3 kB / 0.7799 GB, free: 12 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02273/0.6841, allocations: 21.09 MB / 0.8005 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002964/0.687, allocations: 123.9 kB / 0.8006 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/0.6872, allocations: 103.8 kB / 0.8007 GB, free: 11.34 MB / 0.6387 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.003176/0.6904, allocations: 1.647 MB / 0.8023 GB, free: 9.719 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005634/0.691, allocations: 250.2 kB / 0.8026 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005563/0.6966, allocations: 3.228 MB / 0.8057 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.6966, allocations: 16 kB / 0.8057 GB, free: 6.207 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/0.6966, allocations: 12 kB / 0.8057 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-05/0.6966, allocations: 7.969 kB / 0.8057 GB, free: 6.188 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/0.7095, allocations: 6.447 MB / 0.812 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.7095, allocations: 4 kB / 0.812 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009347/0.7104, allocations: 214.1 kB / 0.8122 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002487/0.7129, allocations: 0.8944 MB / 0.8131 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001449/0.713, allocations: 39.5 kB / 0.8132 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02197/0.735, allocations: 21.05 MB / 0.8337 GB, free: 8.379 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/0.735, allocations: 7.375 kB / 0.8337 GB, free: 8.375 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006004/0.741, allocations: 3.339 MB / 0.837 GB, free: 4.957 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001464/0.7425, allocations: 454 kB / 0.8374 GB, free: 4.516 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002655/0.7427, allocations: 35.98 kB / 0.8375 GB, free: 4.48 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.7438, allocations: 95.89 kB / 0.8375 GB, free: 4.387 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004586/0.7443, allocations: 148 kB / 0.8377 GB, free: 4.246 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.7444, allocations: 52 kB / 0.8377 GB, free: 4.195 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001676/0.7461, allocations: 1.087 MB / 0.8388 GB, free: 3.09 MB / 0.67 GB Notification: Performance of sort global known variables: time 6e-08/0.7461, allocations: 0 / 0.8388 GB, free: 3.09 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003381/0.7494, allocations: 0.9023 MB / 0.8397 GB, free: 2.188 MB / 0.67 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 (109): * Single equations (assignments): 97 * 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,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003138/0.7498, allocations: 154.4 kB / 0.8398 GB, free: 2.039 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.007136/0.7569, allocations: 4.285 MB / 0.844 GB, free: 13.74 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.702e-05/0.7569, allocations: 7.375 kB / 0.844 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.00456/0.7615, allocations: 2.898 MB / 0.8468 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004179/0.7657, allocations: 0.7704 MB / 0.8476 GB, free: 9.977 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01578/0.7814, allocations: 7.786 MB / 0.8552 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003667/0.7851, allocations: 2.661 MB / 0.8578 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002/0.7871, allocations: 0.5122 MB / 0.8583 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000359/0.7875, allocations: 128.5 kB / 0.8584 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of SimCode: time 1.052e-06/0.7875, allocations: 0 / 0.8584 GB, free: 14.78 MB / 0.7012 GB Notification: Performance of Templates: time 0.07498/0.8624, allocations: 42.55 MB / 0.9 GB, free: 5.289 MB / 0.7325 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: 7.661497423425317] Failed to read output from testmodel.py, exit status != 0: 0.8718903362751007 0.885772904 0.38483407199999997 Calling exit ...