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.0007502/0.0007502, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001133/0.001883, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.000751/0.000751, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001035/0.001786, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.024/1.024, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08857/1.113, allocations: 53.68 MB / 243.4 MB, free: 15.5 MB / 250.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-545:108: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-545:116: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.7672/0.7672, allocations: 154.6 MB / 398.8 MB, free: 392 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2693/1.036, allocations: 49.05 MB / 447.8 MB, free: 6.605 MB / 426.7 MB " [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.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 1.864e-06/1.864e-06, allocations: 0 / 449.2 MB, free: 5.285 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.43e-05/2.616e-05, allocations: 4.984 kB / 449.2 MB, free: 5.281 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.007386/0.007412, allocations: 6.734 MB / 455.9 MB, free: 14.58 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003466/0.01088, allocations: 2.323 MB / 458.2 MB, free: 12.27 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003238/0.0112, allocations: 47.62 kB / 458.3 MB, free: 12.22 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000558/0.01176, allocations: 282.7 kB / 458.5 MB, free: 11.94 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008172/0.01258, allocations: 0.7875 MB / 459.3 MB, free: 11.16 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008333/0.01341, allocations: 0.6628 MB / 460 MB, free: 10.5 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002482/0.01589, allocations: 3.339 MB / 463.3 MB, free: 7.152 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/0.01738, allocations: 1.434 MB / 464.8 MB, free: 5.66 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001872/0.01925, allocations: 1.953 MB / 466.7 MB, free: 3.707 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001861/0.02111, allocations: 1.737 MB / 468.5 MB, free: 1.977 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005176/0.02163, allocations: 236.7 kB / 468.7 MB, free: 1.746 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.0228, allocations: 335.7 kB / 469 MB, free: 1.418 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001068/0.02387, allocations: 1.077 MB / 470.1 MB, free: 348 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.02496, allocations: 0.6474 MB / 470.7 MB, free: 15.69 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00227/0.02723, allocations: 2.006 MB / 472.7 MB, free: 13.68 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.089e-05/0.02725, allocations: 1.938 kB / 472.7 MB, free: 13.68 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.02725, allocations: 0 / 472.7 MB, free: 13.68 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001228/0.02737, allocations: 0 / 472.7 MB, free: 13.68 MB / 458.7 MB 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.003765/0.03114, allocations: 2.398 MB / 475.1 MB, free: 11.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.03118, allocations: 8.031 kB / 475.1 MB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003993/0.03517, allocations: 1.267 MB / 476.4 MB, free: 9.965 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.03667, allocations: 0.9368 MB / 477.4 MB, free: 9.004 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.052e-05/0.03674, allocations: 117 kB / 477.5 MB, free: 8.891 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002165/0.03696, allocations: 148.3 kB / 477.6 MB, free: 8.746 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.03893, allocations: 1.623 MB / 479.2 MB, free: 7.008 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.03896, allocations: 4.125 kB / 479.2 MB, free: 7.004 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.0391, allocations: 64.34 kB / 479.3 MB, free: 6.941 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001691/0.03927, allocations: 200.1 kB / 479.5 MB, free: 6.746 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.04041, allocations: 0.6851 MB / 480.2 MB, free: 6.055 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007156/0.04757, allocations: 6.547 MB / 486.7 MB, free: 15.37 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009518/0.04852, allocations: 0.5605 MB / 487.3 MB, free: 14.81 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004455/0.04897, allocations: 355.1 kB / 487.6 MB, free: 14.46 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.797e-05/0.04903, allocations: 20.94 kB / 487.7 MB, free: 14.44 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.04906, allocations: 47.56 kB / 487.7 MB, free: 14.39 MB / 474.7 MB Notification: Performance of pre-optimization done (n=104): time 3.416e-06/0.04907, allocations: 0.625 kB / 487.7 MB, free: 14.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=107): time 0.01541/0.06448, allocations: 7.158 MB / 494.9 MB, free: 7.457 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.06451, allocations: 60.41 kB / 494.9 MB, free: 7.383 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006328/0.06514, allocations: 0.7414 MB / 495.7 MB, free: 6.629 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.996e-05/0.06522, allocations: 41.7 kB / 495.7 MB, free: 6.582 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003205/0.06554, allocations: 0.7006 MB / 496.4 MB, free: 5.867 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/0.06578, allocations: 392.5 kB / 496.8 MB, free: 5.48 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002831/0.06607, allocations: 222.7 kB / 497 MB, free: 5.258 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.06619, allocations: 361.8 kB / 497.4 MB, free: 4.898 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.06653, allocations: 217.4 kB / 497.6 MB, free: 4.684 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004132/0.06694, allocations: 497.2 kB / 498.1 MB, free: 4.078 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008488/0.06779, allocations: 0.8575 MB / 498.9 MB, free: 3.098 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.06779, allocations: 4 kB / 498.9 MB, free: 3.094 MB / 474.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003713/0.07151, allocations: 2.119 MB / 0.4893 GB, free: 0.9492 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.07153, allocations: 12.09 kB / 0.4893 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.07154, allocations: 8 kB / 0.4893 GB, free: 0.9297 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00389/0.07543, allocations: 1.619 MB / 0.4909 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004543/0.07589, allocations: 187.7 kB / 0.4911 GB, free: 15.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008943/0.08483, allocations: 7.315 MB / 0.4982 GB, free: 7.613 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007541/0.08558, allocations: 36 kB / 0.4983 GB, free: 7.578 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.956e-05/0.08566, allocations: 40 kB / 0.4983 GB, free: 7.539 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,16,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004318/0.0861, allocations: 184.3 kB / 0.4985 GB, free: 7.348 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.08626, allocations: 111.9 kB / 0.4986 GB, free: 7.238 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003565/0.08982, allocations: 2.041 MB / 0.5006 GB, free: 5.176 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.08983, allocations: 12 kB / 0.5006 GB, free: 5.164 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.282e-05/0.08985, allocations: 19.94 kB / 0.5006 GB, free: 5.145 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.08986, allocations: 3.984 kB / 0.5006 GB, free: 5.141 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005165/0.09503, allocations: 3.13 MB / 0.5037 GB, free: 1.949 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.09503, allocations: 8.031 kB / 0.5037 GB, free: 1.941 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.09523, allocations: 83.83 kB / 0.5037 GB, free: 1.859 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003691/0.0956, allocations: 235.1 kB / 0.504 GB, free: 1.629 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003875/0.09948, allocations: 1.605 MB / 0.5055 GB, free: 16 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.886e-05/0.09955, allocations: 16 kB / 0.5055 GB, free: 0 / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01008/0.1096, allocations: 7.316 MB / 0.5127 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1096, allocations: 4 kB / 0.5127 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004656/0.1143, allocations: 2.088 MB / 0.5147 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/0.1144, allocations: 16 kB / 0.5148 GB, free: 6.324 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/0.1149, allocations: 24 kB / 0.5148 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003182/0.1152, allocations: 100.7 kB / 0.5149 GB, free: 6.199 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.233e-05/0.1153, allocations: 20 kB / 0.5149 GB, free: 6.18 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003804/0.1157, allocations: 364.8 kB / 0.5152 GB, free: 5.809 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.1157, allocations: 0 / 0.5152 GB, free: 5.809 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001669/0.1174, allocations: 0.6758 MB / 0.5159 GB, free: 5.133 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,16,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001867/0.1175, allocations: 100.4 kB / 0.516 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002453/0.12, allocations: 1.45 MB / 0.5174 GB, free: 3.551 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.423e-05/0.12, allocations: 27.06 kB / 0.5174 GB, free: 3.523 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001883/0.1219, allocations: 1.141 MB / 0.5185 GB, free: 2.355 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.1233, allocations: 1.64 MB / 0.5202 GB, free: 440 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.1355, allocations: 3.241 MB / 0.5233 GB, free: 13.13 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.136, allocations: 0.5059 MB / 0.5238 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003304/0.1363, allocations: 99.78 kB / 0.5239 GB, free: 12.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003513/0.1367, allocations: 197.3 kB / 0.5241 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of SimCode: time 8.81e-07/0.1367, allocations: 0 / 0.5241 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of Templates: time 0.0983/0.235, allocations: 38.24 MB / 0.5614 GB, free: 6.418 MB / 0.5417 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.163221665658057]