Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.0009141/0.0009141, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001233/0.002147, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007661/0.0007661, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009235/0.00169, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.026/1.026, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09821/1.125, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.8086/0.8086, allocations: 154.6 MB / 398.5 MB, free: 0.5234 MB / 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.3205/1.129, allocations: 49.04 MB / 447.6 MB, free: 6.688 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.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0.9844 kB / 448.9 MB, free: 5.391 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.212e-05, allocations: 3.469 kB / 448.9 MB, free: 5.387 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01037/0.01039, allocations: 11.98 MB / 460.9 MB, free: 9.422 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007996/0.01839, allocations: 3.818 MB / 464.7 MB, free: 5.633 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.01974, allocations: 111.2 kB / 464.8 MB, free: 5.523 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009889/0.02073, allocations: 0.5325 MB / 465.3 MB, free: 4.988 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001906/0.02263, allocations: 1.329 MB / 466.7 MB, free: 3.66 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.02427, allocations: 1.018 MB / 467.7 MB, free: 2.645 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.004811/0.02908, allocations: 5.581 MB / 473.3 MB, free: 13.05 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003846/0.03293, allocations: 3.2 MB / 476.5 MB, free: 9.766 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004222/0.03715, allocations: 3.371 MB / 479.8 MB, free: 6.391 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003521/0.04067, allocations: 2.655 MB / 482.5 MB, free: 3.742 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001335/0.042, allocations: 429.3 kB / 482.9 MB, free: 3.324 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002186/0.04419, allocations: 0.5075 MB / 483.4 MB, free: 2.816 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001617/0.04581, allocations: 1.723 MB / 485.1 MB, free: 1.09 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001797/0.0476, allocations: 1.143 MB / 486.3 MB, free: 15.94 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003138/0.05074, allocations: 3.21 MB / 489.5 MB, free: 12.73 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.697e-05/0.05076, allocations: 0.5312 kB / 489.5 MB, free: 12.73 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.05076, allocations: 1.094 kB / 489.5 MB, free: 12.73 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001541/0.05092, allocations: 3.938 kB / 489.5 MB, free: 12.72 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.004952/0.05587, allocations: 3.95 MB / 493.5 MB, free: 8.738 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.0559, allocations: 13.73 kB / 493.5 MB, free: 8.727 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001809/0.05771, allocations: 0.8871 MB / 494.4 MB, free: 7.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/0.05956, allocations: 1.557 MB / 495.9 MB, free: 6.227 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.05968, allocations: 223 kB / 496.1 MB, free: 6.008 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000287/0.05997, allocations: 304.3 kB / 496.4 MB, free: 5.711 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002991/0.06296, allocations: 2.862 MB / 499.3 MB, free: 2.562 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-05/0.06301, allocations: 24 kB / 499.3 MB, free: 2.539 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/0.0632, allocations: 129.3 kB / 499.4 MB, free: 2.414 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002149/0.06341, allocations: 213.8 kB / 499.6 MB, free: 2.203 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.06451, allocations: 0.7915 MB / 0.4887 GB, free: 1.402 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008451/0.07296, allocations: 10.44 MB / 0.4989 GB, free: 6.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005397/0.0735, allocations: 0.5295 MB / 0.4994 GB, free: 6.141 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005279/0.07403, allocations: 339.8 kB / 0.4997 GB, free: 5.816 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.008e-05/0.07408, allocations: 17 kB / 0.4998 GB, free: 5.797 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.07411, allocations: 44.5 kB / 0.4998 GB, free: 5.746 MB / 490.7 MB Notification: Performance of pre-optimization done (n=107): time 3.015e-06/0.07411, allocations: 0 / 0.4998 GB, free: 5.746 MB / 490.7 MB Notification: Performance of matching and sorting (n=110): time 0.00752/0.08163, allocations: 3.932 MB / 0.5036 GB, free: 1.965 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.213e-05/0.08166, allocations: 65.03 kB / 0.5037 GB, free: 1.891 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006054/0.08227, allocations: 0.885 MB / 0.5046 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.034e-05/0.08232, allocations: 49.7 kB / 0.5046 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004563/0.08277, allocations: 1.193 MB / 0.5058 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/0.08297, allocations: 404.5 kB / 0.5062 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/0.08319, allocations: 239.4 kB / 0.5064 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.08329, allocations: 366.9 kB / 0.5067 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003583/0.08365, allocations: 147.9 kB / 0.5069 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/0.08402, allocations: 0.5566 MB / 0.5074 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006588/0.08468, allocations: 0.8378 MB / 0.5082 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.08468, allocations: 6.438 kB / 0.5083 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001365/0.08605, allocations: 1.153 MB / 0.5094 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.08607, allocations: 12.5 kB / 0.5094 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.08608, allocations: 12 kB / 0.5094 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.08732, allocations: 0.5817 MB / 0.51 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004975/0.08782, allocations: 253.1 kB / 0.5102 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004288/0.0921, allocations: 4.59 MB / 0.5147 GB, free: 6.102 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005007/0.09261, allocations: 39.94 kB / 0.5147 GB, free: 6.062 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.654e-05/0.09266, allocations: 44 kB / 0.5148 GB, free: 6.02 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (125): * Single equations (assignments): 123 * 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 {(5,25,88.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006319/0.09329, allocations: 200.3 kB / 0.515 GB, free: 5.812 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.09344, allocations: 127.9 kB / 0.5151 GB, free: 5.688 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.0947, allocations: 0.9958 MB / 0.5161 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.09471, allocations: 15.94 kB / 0.5161 GB, free: 4.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.09472, allocations: 8 kB / 0.5161 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.09472, allocations: 3.984 kB / 0.5161 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00286/0.09758, allocations: 2.19 MB / 0.5182 GB, free: 2.387 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.09759, allocations: 4.125 kB / 0.5182 GB, free: 2.383 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000297/0.09789, allocations: 123.8 kB / 0.5183 GB, free: 2.262 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002752/0.09816, allocations: 215.3 kB / 0.5186 GB, free: 2.051 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0011/0.09926, allocations: 0.5527 MB / 0.5191 GB, free: 1.492 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.491e-05/0.09931, allocations: 24 kB / 0.5191 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004451/0.1038, allocations: 4.614 MB / 0.5236 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1038, allocations: 4 kB / 0.5236 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001375/0.1051, allocations: 1.135 MB / 0.5247 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.1053, allocations: 20 kB / 0.5248 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.1056, allocations: 24 kB / 0.5248 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.1057, allocations: 102 kB / 0.5249 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.98e-05/0.1058, allocations: 24 kB / 0.5249 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003526/0.1061, allocations: 433.9 kB / 0.5253 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4e-08/0.1061, allocations: 0 / 0.5253 GB, free: 10.86 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001357/0.1075, allocations: 0.6055 MB / 0.5259 GB, free: 10.26 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (63): * Single equations (assignments): 61 * 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 {(5,17,84.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000157/0.1076, allocations: 116.2 kB / 0.526 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001387/0.109, allocations: 1.275 MB / 0.5273 GB, free: 8.848 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-05/0.1091, allocations: 32.38 kB / 0.5273 GB, free: 8.812 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009651/0.11, allocations: 0.9147 MB / 0.5282 GB, free: 7.867 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009976/0.111, allocations: 0.5657 MB / 0.5287 GB, free: 7.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01899/0.13, allocations: 4.796 MB / 0.5334 GB, free: 2.453 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00088/0.1309, allocations: 0.758 MB / 0.5342 GB, free: 1.672 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006639/0.1316, allocations: 174.7 kB / 0.5343 GB, free: 1.512 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007425/0.1323, allocations: 395.1 kB / 0.5347 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of SimCode: time 1.523e-06/0.1323, allocations: 0 / 0.5347 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of Templates: time 0.04001/0.1723, allocations: 30.24 MB / 0.5642 GB, free: 3.539 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.1334637412801385]