Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000846/0.000846, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009577/0.0009577, allocations: 169 kB / 23.02 MB, free: 1.551 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.9883/0.9883, allocations: 177.1 MB / 203.4 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7341/0.7341, allocations: 154.9 MB / 414.8 MB, free: 384 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.5207 GB, free: 1.66 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.831e-05/1.954e-05, allocations: 7.906 kB / 0.5207 GB, free: 1.656 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.005754/0.005774, allocations: 6.639 MB / 0.5272 GB, free: 11 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.003356/0.00913, allocations: 2.223 MB / 0.5294 GB, free: 8.781 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004321/0.009562, allocations: 43.69 kB / 0.5294 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006349/0.0102, allocations: 262.2 kB / 0.5296 GB, free: 8.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0009094/0.01111, allocations: 0.7062 MB / 0.5303 GB, free: 7.777 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.01218, allocations: 0.6651 MB / 0.531 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002289/0.01447, allocations: 3.011 MB / 0.5339 GB, free: 4.094 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001437/0.0159, allocations: 1.416 MB / 0.5353 GB, free: 2.641 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00172/0.01762, allocations: 1.732 MB / 0.537 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001719/0.01934, allocations: 1.627 MB / 0.5386 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.00032/0.01966, allocations: 236 kB / 0.5388 GB, free: 15.05 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000492/0.02015, allocations: 339.6 kB / 0.5391 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0007329/0.02089, allocations: 1.154 MB / 0.5403 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000679/0.02157, allocations: 0.7875 MB / 0.541 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00161/0.02318, allocations: 2.143 MB / 0.5431 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.02318, allocations: 1.625 kB / 0.5431 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of FrontEnd: time 6.41e-07/0.02318, allocations: 0 / 0.5431 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.31e-05/0.02322, allocations: 0 / 0.5431 GB, free: 10.62 MB / 0.5105 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.002356/0.02558, allocations: 2.258 MB / 0.5453 GB, free: 8.324 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.02562, allocations: 12.03 kB / 0.5453 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004369/0.02999, allocations: 1.643 MB / 0.547 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00124/0.03123, allocations: 1.166 MB / 0.5481 GB, free: 5.484 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.441e-05/0.03129, allocations: 119.9 kB / 0.5482 GB, free: 5.367 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.03148, allocations: 148.3 kB / 0.5483 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/0.03364, allocations: 1.832 MB / 0.5501 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.03366, allocations: 192 / 0.5501 GB, free: 3.246 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/0.0338, allocations: 64.34 kB / 0.5502 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001624/0.03396, allocations: 207.1 kB / 0.5504 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.03555, allocations: 0.8537 MB / 0.5512 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008037/0.04358, allocations: 8.98 MB / 0.56 GB, free: 8.957 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009521/0.04454, allocations: 0.6441 MB / 0.5606 GB, free: 8.312 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006693/0.04521, allocations: 458.4 kB / 0.5611 GB, free: 7.867 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 7.157e-05/0.04528, allocations: 17 kB / 0.5611 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.04531, allocations: 46.39 kB / 0.5611 GB, free: 7.793 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=104): time 2.395e-06/0.04531, allocations: 5.219 kB / 0.5611 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of matching and sorting (n=183): time 0.01794/0.06325, allocations: 9.449 MB / 0.5704 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.06328, allocations: 69.41 kB / 0.5704 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007175/0.064, allocations: 0.9013 MB / 0.5713 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.06411, allocations: 53.64 kB / 0.5714 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/0.06448, allocations: 0.8589 MB / 0.5722 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004015/0.06488, allocations: 0.678 MB / 0.5729 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004533/0.06534, allocations: 353.1 kB / 0.5732 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.71e-05/0.06543, allocations: 480.7 kB / 0.5737 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008183/0.06625, allocations: 479.7 kB / 0.5741 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.06728, allocations: 0.9617 MB / 0.575 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00189/0.06917, allocations: 1.535 MB / 0.5765 GB, free: 7.672 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.06918, allocations: 4 kB / 0.5765 GB, free: 7.668 MB / 0.5417 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.008722/0.0779, allocations: 4.757 MB / 0.5812 GB, free: 2.883 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.07792, allocations: 11.98 kB / 0.5812 GB, free: 2.871 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.07794, allocations: 12 kB / 0.5812 GB, free: 2.859 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008497/0.08643, allocations: 3.592 MB / 0.5847 GB, free: 15.25 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/0.08685, allocations: 195.7 kB / 0.5849 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02561/0.1125, allocations: 19.37 MB / 0.6038 GB, free: 11.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.1136, allocations: 99.89 kB / 0.6039 GB, free: 11.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.1137, allocations: 68 kB / 0.604 GB, free: 11.04 MB / 0.573 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.0005525/0.1143, allocations: 256.2 kB / 0.6042 GB, free: 10.77 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002686/0.1146, allocations: 203.1 kB / 0.6044 GB, free: 10.57 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008868/0.1234, allocations: 4.728 MB / 0.609 GB, free: 5.805 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/0.1234, allocations: 20 kB / 0.6091 GB, free: 5.785 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.788e-05/0.1235, allocations: 28 kB / 0.6091 GB, free: 5.758 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/0.1235, allocations: 7.969 kB / 0.6091 GB, free: 5.75 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/0.1357, allocations: 7.187 MB / 0.6161 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.295e-05/0.1357, allocations: 8.031 kB / 0.6161 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/0.136, allocations: 119.8 kB / 0.6162 GB, free: 14.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008934/0.145, allocations: 3.488 MB / 0.6196 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001812/0.1451, allocations: 28 kB / 0.6197 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02102/0.1662, allocations: 17.83 MB / 0.6371 GB, free: 8.449 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.1662, allocations: 7.938 kB / 0.6371 GB, free: 8.441 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009395/0.1756, allocations: 4.691 MB / 0.6417 GB, free: 3.633 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009428/0.1765, allocations: 0.5028 MB / 0.6422 GB, free: 3.129 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/0.1767, allocations: 35.95 kB / 0.6422 GB, free: 3.094 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006464/0.1773, allocations: 95.83 kB / 0.6423 GB, free: 3 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007371/0.1781, allocations: 173.3 kB / 0.6425 GB, free: 2.832 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-05/0.1782, allocations: 44 kB / 0.6425 GB, free: 2.789 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005537/0.1787, allocations: 0.5383 MB / 0.643 GB, free: 2.238 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1787, allocations: 8 kB / 0.643 GB, free: 2.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002615/0.1813, allocations: 1.012 MB / 0.644 GB, free: 1.219 MB / 0.6042 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.0002613/0.1816, allocations: 143.6 kB / 0.6442 GB, free: 1.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004975/0.1866, allocations: 3.252 MB / 0.6473 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.1866, allocations: 0 / 0.6473 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.004298/0.1909, allocations: 2.747 MB / 0.65 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.1919, allocations: 236.7 kB / 0.6502 GB, free: 10.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00565/0.1976, allocations: 4.047 MB / 0.6542 GB, free: 6.566 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/0.1986, allocations: 0.6388 MB / 0.6548 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005311/0.1991, allocations: 287.2 kB / 0.6551 GB, free: 5.613 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.1993, allocations: 64.44 kB / 0.6551 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of SimCode: time 2.064e-06/0.1993, allocations: 0 / 0.6551 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of Templates: time 0.2714/0.4707, allocations: 66.38 MB / 0.72 GB, free: 163 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.788660997990519]