Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.0007878/0.0007878, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008755/0.0008755, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8683/0.8683, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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-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 0.6923/0.6923, allocations: 154.6 MB / 414.5 MB, free: 0.793 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. " [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_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.6193 GB, free: 13.13 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.663e-05, allocations: 4.797 kB / 0.6193 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02434/0.02436, allocations: 35.66 MB / 0.6542 GB, free: 9.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01212/0.03647, allocations: 10.95 MB / 0.6649 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001611/0.03808, allocations: 206.5 kB / 0.6651 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004639/0.04272, allocations: 4.388 MB / 0.6694 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.00303/0.04575, allocations: 2.392 MB / 0.6717 GB, free: 7.352 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002708/0.04846, allocations: 2.189 MB / 0.6738 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.2476/0.2961, allocations: 9.46 MB / 0.6831 GB, free: 53.11 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00556/0.3016, allocations: 6.358 MB / 0.6893 GB, free: 52.51 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004458/0.3061, allocations: 5.776 MB / 0.6949 GB, free: 52.12 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002736/0.3088, allocations: 4.186 MB / 0.699 GB, free: 51.82 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0005758/0.3094, allocations: 0.8227 MB / 0.6998 GB, free: 51.82 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.3109, allocations: 1.515 MB / 0.7013 GB, free: 51.78 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001399/0.3123, allocations: 3.369 MB / 0.7046 GB, free: 51.47 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001854/0.3142, allocations: 2.571 MB / 0.7071 GB, free: 51.02 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00827/0.3224, allocations: 12.56 MB / 0.7194 GB, free: 47.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3224, allocations: 2.438 kB / 0.7194 GB, free: 47.55 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3224, allocations: 0 / 0.7194 GB, free: 47.55 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002158/0.3226, allocations: 2.156 kB / 0.7194 GB, free: 47.55 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.008492/0.3311, allocations: 6.333 MB / 0.7255 GB, free: 44.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3312, allocations: 9.562 kB / 0.7255 GB, free: 44.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002788/0.334, allocations: 1.108 MB / 0.7266 GB, free: 43.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004321/0.3383, allocations: 3.573 MB / 0.7301 GB, free: 42.24 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000206/0.3385, allocations: 430.5 kB / 0.7305 GB, free: 42.06 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006351/0.3391, allocations: 0.5379 MB / 0.7311 GB, free: 41.89 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009168/0.3483, allocations: 10.29 MB / 0.7411 GB, free: 36.91 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.05e-05/0.3484, allocations: 23.7 kB / 0.7411 GB, free: 36.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004473/0.3488, allocations: 245.6 kB / 0.7414 GB, free: 36.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003718/0.3492, allocations: 426.6 kB / 0.7418 GB, free: 36.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007267/0.3565, allocations: 7.124 MB / 0.7487 GB, free: 34.29 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01643/0.3729, allocations: 25.32 MB / 0.7734 GB, free: 16.34 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002222/0.3751, allocations: 2.902 MB / 0.7763 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/0.3766, allocations: 1.934 MB / 0.7782 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.453e-05/0.3767, allocations: 24.09 kB / 0.7782 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.3767, allocations: 59.41 kB / 0.7783 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=209): time 4.088e-06/0.3767, allocations: 0 / 0.7783 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=212): time 0.01197/0.3887, allocations: 10.25 MB / 0.7883 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.3887, allocations: 73.41 kB / 0.7883 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.3899, allocations: 1.833 MB / 0.7901 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.025e-05/0.39, allocations: 65.7 kB / 0.7902 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005304/0.3905, allocations: 2.471 MB / 0.7926 GB, free: 96 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004026/0.3909, allocations: 0.7622 MB / 0.7933 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004905/0.3914, allocations: 477.5 kB / 0.7938 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.337e-05/0.3915, allocations: 305.1 kB / 0.7941 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.3928, allocations: 1.376 MB / 0.7954 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001876/0.3947, allocations: 2.105 MB / 0.7975 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003104/0.3978, allocations: 3.767 MB / 0.8012 GB, free: 6.801 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.3978, allocations: 8 kB / 0.8012 GB, free: 6.793 MB / 0.6511 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.005245/0.403, allocations: 5.007 MB / 0.8061 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.403, allocations: 12 kB / 0.8061 GB, free: 1.941 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.4031, allocations: 28 kB / 0.8061 GB, free: 1.914 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002025/0.4051, allocations: 1.582 MB / 0.8076 GB, free: 340 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008521/0.4059, allocations: 452.8 kB / 0.8081 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/0.42, allocations: 17.78 MB / 0.8254 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.4216, allocations: 143.9 kB / 0.8256 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.4218, allocations: 108 kB / 0.8257 GB, free: 13.54 MB / 0.6823 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002757/0.4245, allocations: 1.94 MB / 0.8276 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002595/0.4248, allocations: 286.2 kB / 0.8279 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004236/0.429, allocations: 4.389 MB / 0.8321 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.429, allocations: 24 kB / 0.8322 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.429, allocations: 19.94 kB / 0.8322 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.429, allocations: 11.97 kB / 0.8322 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008922/0.438, allocations: 8.344 MB / 0.8403 GB, free: 14.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.438, allocations: 8 kB / 0.8403 GB, free: 14.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004963/0.4385, allocations: 232.8 kB / 0.8406 GB, free: 14.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001798/0.4403, allocations: 1.429 MB / 0.842 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.56e-05/0.4404, allocations: 40 kB / 0.842 GB, free: 12.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01356/0.4539, allocations: 17.78 MB / 0.8594 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.4539, allocations: 4 kB / 0.8594 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004384/0.4583, allocations: 4.47 MB / 0.8637 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007908/0.4591, allocations: 0.5543 MB / 0.8643 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.4593, allocations: 43.95 kB / 0.8643 GB, free: 5.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006309/0.4599, allocations: 119.9 kB / 0.8644 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003049/0.4602, allocations: 189 kB / 0.8646 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.115e-05/0.4603, allocations: 56 kB / 0.8647 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001075/0.4614, allocations: 1.176 MB / 0.8658 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.4614, allocations: 0 / 0.8658 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002453/0.4638, allocations: 1.133 MB / 0.8669 GB, free: 2.973 MB / 0.7136 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002237/0.464, allocations: 161.6 kB / 0.8671 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004635/0.4687, allocations: 4.532 MB / 0.8715 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.4687, allocations: 0 / 0.8715 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00248/0.4712, allocations: 2.799 MB / 0.8742 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/0.4729, allocations: 0.818 MB / 0.875 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/0.485, allocations: 10.3 MB / 0.8851 GB, free: 384 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002748/0.4877, allocations: 3.259 MB / 0.8883 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004396/0.4882, allocations: 156.5 kB / 0.8884 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of SimCode: time 1.763e-06/0.4882, allocations: 0 / 0.8884 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of Templates: time 0.3777/0.8659, allocations: 172.9 MB / 1.057 GB, free: 266.2 MB / 0.8386 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.476319110952318] Failed to read output from testmodel.py, exit status != 0: 0.8718838645145297 0.877967193 0.55408249 Calling exit ...