Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.0009315/0.0009315, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001311/0.002242, 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.001023/0.001023, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009153/0.001938, 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 0.9236/0.9236, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0961/1.02, 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.8537/0.8537, allocations: 154.6 MB / 398.5 MB, free: 0.5195 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.296/1.15, allocations: 49.04 MB / 447.6 MB, free: 6.668 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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 448.9 MB, free: 5.367 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.562e-05/2.776e-05, allocations: 4.422 kB / 448.9 MB, free: 5.363 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.01965/0.01968, allocations: 20.46 MB / 469.4 MB, free: 0.8828 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.01413/0.03382, allocations: 10.52 MB / 479.9 MB, free: 6.418 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001963/0.03578, allocations: 207.5 kB / 480.1 MB, free: 6.215 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.03722, allocations: 0.9002 MB / 481 MB, free: 5.309 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004789/0.04201, allocations: 3.177 MB / 484.2 MB, free: 2.137 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002577/0.04459, allocations: 1.838 MB / 486 MB, free: 312 kB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.007411/0.052, allocations: 9.961 MB / 496 MB, free: 6.316 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005363/0.05736, allocations: 5.488 MB / 0.4897 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006249/0.06361, allocations: 6.292 MB / 0.4958 GB, free: 10.36 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004028/0.06764, allocations: 4.368 MB / 0.5001 GB, free: 5.996 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007419/0.06838, allocations: 0.707 MB / 0.5008 GB, free: 5.289 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007113/0.0755, allocations: 0.8005 MB / 0.5016 GB, free: 4.488 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006226/0.08172, allocations: 2.874 MB / 0.5044 GB, free: 1.609 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009601/0.09132, allocations: 2.009 MB / 0.5063 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.01356/0.1049, allocations: 5.484 MB / 0.5117 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.728e-05/0.1049, allocations: 0.8125 kB / 0.5117 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.625e-06/0.1049, allocations: 0 / 0.5117 GB, free: 10.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004222/0.1053, allocations: 1.188 kB / 0.5117 GB, free: 10.1 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01047/0.1158, allocations: 6.91 MB / 0.5185 GB, free: 3.145 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.1158, allocations: 12.03 kB / 0.5185 GB, free: 3.133 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004204/0.1201, allocations: 1.583 MB / 0.52 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004795/0.1248, allocations: 2.687 MB / 0.5226 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002304/0.1251, allocations: 374.4 kB / 0.523 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001057/0.1261, allocations: 0.4964 MB / 0.5235 GB, free: 13.92 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006445/0.1326, allocations: 4.873 MB / 0.5282 GB, free: 8.605 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001149/0.1327, allocations: 23.77 kB / 0.5283 GB, free: 8.582 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003319/0.133, allocations: 212 kB / 0.5285 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000484/0.1335, allocations: 370.3 kB / 0.5288 GB, free: 8.012 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/0.1359, allocations: 1.306 MB / 0.5301 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02332/0.1592, allocations: 16.67 MB / 0.5464 GB, free: 5.617 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009474/0.1601, allocations: 0.8001 MB / 0.5472 GB, free: 4.852 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007622/0.1609, allocations: 0.6097 MB / 0.5477 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.933e-05/0.161, allocations: 35.28 kB / 0.5478 GB, free: 4.219 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.161, allocations: 56.55 kB / 0.5478 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=171): time 5.55e-06/0.161, allocations: 5.953 kB / 0.5478 GB, free: 4.148 MB / 0.5261 GB Notification: Performance of matching and sorting (n=174): time 0.01399/0.175, allocations: 6.583 MB / 0.5543 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.1751, allocations: 69.41 kB / 0.5543 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.1765, allocations: 1.679 MB / 0.556 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.386e-05/0.1766, allocations: 57.7 kB / 0.556 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008198/0.1774, allocations: 1.994 MB / 0.558 GB, free: 9.789 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003553/0.1777, allocations: 0.6195 MB / 0.5586 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003685/0.1781, allocations: 367.6 kB / 0.5589 GB, free: 8.797 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003466/0.1785, allocations: 309 kB / 0.5592 GB, free: 8.492 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003678/0.1788, allocations: 256.2 kB / 0.5595 GB, free: 8.238 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005978/0.1794, allocations: 0.8288 MB / 0.5603 GB, free: 7.16 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/0.1806, allocations: 1.32 MB / 0.5616 GB, free: 5.598 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-05/0.1806, allocations: 8 kB / 0.5616 GB, free: 5.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.002872/0.1834, allocations: 1.994 MB / 0.5635 GB, free: 3.574 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.1835, allocations: 15.94 kB / 0.5635 GB, free: 3.559 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/0.1835, allocations: 20 kB / 0.5636 GB, free: 3.539 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002791/0.1863, allocations: 1.217 MB / 0.5647 GB, free: 2.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009529/0.1872, allocations: 387.4 kB / 0.5651 GB, free: 1.941 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008887/0.1961, allocations: 7.667 MB / 0.5726 GB, free: 9.988 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.1975, allocations: 64 kB / 0.5727 GB, free: 9.926 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.1976, allocations: 67.98 kB / 0.5727 GB, free: 9.859 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (187): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(10,28,71.0%), (6,24,77.8%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00146/0.1991, allocations: 240.2 kB / 0.573 GB, free: 9.613 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003145/0.1994, allocations: 235.7 kB / 0.5732 GB, free: 9.383 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002434/0.2018, allocations: 1.771 MB / 0.5749 GB, free: 7.582 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.2018, allocations: 19.94 kB / 0.5749 GB, free: 7.562 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.699e-05/0.2018, allocations: 16 kB / 0.5749 GB, free: 7.547 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.2019, allocations: 7.969 kB / 0.575 GB, free: 7.539 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005835/0.2077, allocations: 3.618 MB / 0.5785 GB, free: 3.832 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.2077, allocations: 4 kB / 0.5785 GB, free: 3.828 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004791/0.2082, allocations: 192.2 kB / 0.5787 GB, free: 3.641 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006248/0.2088, allocations: 362.2 kB / 0.579 GB, free: 3.285 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002828/0.2116, allocations: 1.188 MB / 0.5802 GB, free: 2.086 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.633e-05/0.2117, allocations: 36 kB / 0.5802 GB, free: 2.051 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007992/0.2197, allocations: 7.672 MB / 0.5877 GB, free: 10.08 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.2197, allocations: 4 kB / 0.5877 GB, free: 10.08 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/0.2225, allocations: 1.879 MB / 0.5895 GB, free: 8.121 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003952/0.2229, allocations: 35.94 kB / 0.5896 GB, free: 8.086 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006101/0.2235, allocations: 36 kB / 0.5896 GB, free: 8.051 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003627/0.2239, allocations: 164.9 kB / 0.5898 GB, free: 7.891 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.801e-05/0.2239, allocations: 36 kB / 0.5898 GB, free: 7.855 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0007766/0.2247, allocations: 0.8547 MB / 0.5906 GB, free: 6.988 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.1e-08/0.2247, allocations: 0 / 0.5906 GB, free: 6.988 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002429/0.2271, allocations: 1.082 MB / 0.5917 GB, free: 5.906 MB / 0.573 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 (90): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000241/0.2274, allocations: 130 kB / 0.5918 GB, free: 5.77 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.003341/0.2307, allocations: 2.15 MB / 0.5939 GB, free: 3.574 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.431e-05/0.2308, allocations: 53.67 kB / 0.594 GB, free: 3.52 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001845/0.2327, allocations: 1.567 MB / 0.5955 GB, free: 1.914 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00258/0.2352, allocations: 1.201 MB / 0.5967 GB, free: 0.7617 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03663/0.2719, allocations: 8.21 MB / 0.6047 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001286/0.2731, allocations: 1.242 MB / 0.6059 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001215/0.2744, allocations: 327.1 kB / 0.6062 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/0.2755, allocations: 0.7372 MB / 0.6069 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of SimCode: time 3.005e-06/0.2755, allocations: 0 / 0.6069 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of Templates: time 0.3243/0.5998, allocations: 57.59 MB / 0.6632 GB, free: 174.1 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.151321686804295]