Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.0009568/0.0009568, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.0009815/0.0009815, allocations: 173 kB / 23.49 MB, free: 1.051 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 1.013/1.013, allocations: 177.1 MB / 203.8 MB, free: 5.57 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-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.8512/0.8512, allocations: 154.6 MB / 414.9 MB, free: 0.6211 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.5204 GB, free: 1.375 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.337e-05, allocations: 2.312 kB / 0.5204 GB, free: 1.371 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02636/0.02638, allocations: 31.06 MB / 0.5507 GB, free: 2.242 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01801/0.04439, allocations: 13.78 MB / 0.5642 GB, free: 4.484 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00323/0.04762, allocations: 190.5 kB / 0.5643 GB, free: 4.297 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004529/0.05215, allocations: 3.298 MB / 0.5676 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005447/0.0576, allocations: 2.838 MB / 0.5703 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003818/0.06142, allocations: 2.041 MB / 0.5723 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.007778/0.0692, allocations: 7.794 MB / 0.5799 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005395/0.07459, allocations: 4.628 MB / 0.5844 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005724/0.08032, allocations: 4.811 MB / 0.5891 GB, free: 10.74 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003375/0.08369, allocations: 3.31 MB / 0.5924 GB, free: 7.422 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0008079/0.0845, allocations: 0.5977 MB / 0.593 GB, free: 6.824 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.0865, allocations: 1.415 MB / 0.5943 GB, free: 5.406 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001654/0.08816, allocations: 2.572 MB / 0.5969 GB, free: 2.828 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.00172/0.08988, allocations: 2.028 MB / 0.5988 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004652/0.09453, allocations: 5.34 MB / 0.6041 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.09453, allocations: 0 / 0.6041 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.583e-06/0.09454, allocations: 2.375 kB / 0.6041 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.601e-05/0.09458, allocations: 0 / 0.6041 GB, free: 11.44 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.009311/0.1039, allocations: 5.421 MB / 0.6093 GB, free: 5.957 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.777e-05/0.104, allocations: 8.75 kB / 0.6094 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004747/0.1087, allocations: 1.561 MB / 0.6109 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004823/0.1135, allocations: 3.014 MB / 0.6138 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002265/0.1138, allocations: 324.8 kB / 0.6141 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007217/0.1145, allocations: 432.3 kB / 0.6145 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006036/0.1205, allocations: 4.735 MB / 0.6192 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.781e-05/0.1206, allocations: 27.81 kB / 0.6192 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003006/0.1209, allocations: 184.6 kB / 0.6194 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005027/0.1214, allocations: 369 kB / 0.6197 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003279/0.1247, allocations: 1.623 MB / 0.6213 GB, free: 9.066 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01947/0.1442, allocations: 21.18 MB / 0.642 GB, free: 3.312 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009225/0.1451, allocations: 0.5711 MB / 0.6425 GB, free: 2.73 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006819/0.1458, allocations: 0.5239 MB / 0.6431 GB, free: 2.211 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.14e-05/0.1458, allocations: 33.3 kB / 0.6431 GB, free: 2.176 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.1459, allocations: 54.69 kB / 0.6431 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=130): time 2.835e-06/0.1459, allocations: 4 kB / 0.6431 GB, free: 2.109 MB / 0.5573 GB Notification: Performance of matching and sorting (n=199): time 0.2643/0.4102, allocations: 6.602 MB / 0.6496 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/0.4102, allocations: 74.02 kB / 0.6497 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.4122, allocations: 1.699 MB / 0.6513 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.917e-05/0.4123, allocations: 57.52 kB / 0.6514 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009589/0.4133, allocations: 2.129 MB / 0.6535 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000411/0.4137, allocations: 0.7215 MB / 0.6542 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005038/0.4142, allocations: 414 kB / 0.6546 GB, free: 125 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 4.246e-05/0.4143, allocations: 479.7 kB / 0.655 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009155/0.4152, allocations: 0.51 MB / 0.6555 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.4164, allocations: 1.326 MB / 0.6568 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002169/0.4186, allocations: 2.024 MB / 0.6588 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.4186, allocations: 5.984 kB / 0.6588 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.004819/0.4234, allocations: 3.309 MB / 0.662 GB, free: 121 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.4234, allocations: 19.72 kB / 0.662 GB, free: 121 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.4234, allocations: 16.59 kB / 0.6621 GB, free: 121 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003838/0.4273, allocations: 1.732 MB / 0.6637 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006814/0.428, allocations: 383.7 kB / 0.6641 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/0.4419, allocations: 35.84 MB / 0.6991 GB, free: 86.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.4432, allocations: 122.1 kB / 0.6992 GB, free: 86.71 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.4434, allocations: 95.67 kB / 0.6993 GB, free: 86.68 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001211/0.4446, allocations: 293 kB / 0.6996 GB, free: 86.41 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003135/0.4449, allocations: 338.3 kB / 0.6999 GB, free: 86.08 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004071/0.449, allocations: 2.898 MB / 0.7028 GB, free: 83.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.449, allocations: 20 kB / 0.7028 GB, free: 83.08 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.449, allocations: 20 kB / 0.7028 GB, free: 83.06 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.449, allocations: 12.5 kB / 0.7028 GB, free: 83.05 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00713/0.4561, allocations: 6.282 MB / 0.7089 GB, free: 76.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.4561, allocations: 9.125 kB / 0.7089 GB, free: 76.56 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003966/0.4565, allocations: 219.6 kB / 0.7092 GB, free: 76.34 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003778/0.4603, allocations: 1.63 MB / 0.7107 GB, free: 74.65 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/0.4604, allocations: 44 kB / 0.7108 GB, free: 74.61 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01708/0.4775, allocations: 35.76 MB / 0.7457 GB, free: 36.69 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.4775, allocations: 8.859 kB / 0.7457 GB, free: 36.68 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004805/0.4823, allocations: 3.019 MB / 0.7487 GB, free: 33.45 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007924/0.4831, allocations: 0.5134 MB / 0.7492 GB, free: 32.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002546/0.4833, allocations: 43.98 kB / 0.7492 GB, free: 32.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009159/0.4843, allocations: 127.8 kB / 0.7493 GB, free: 32.77 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005024/0.4848, allocations: 198.1 kB / 0.7495 GB, free: 32.58 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.4849, allocations: 59.98 kB / 0.7496 GB, free: 32.52 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0009782/0.4858, allocations: 0.977 MB / 0.7505 GB, free: 31.53 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.4858, allocations: 0 / 0.7505 GB, free: 31.53 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003026/0.4889, allocations: 1.055 MB / 0.7516 GB, free: 30.47 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002219/0.4891, allocations: 163.6 kB / 0.7517 GB, free: 30.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005138/0.4942, allocations: 5.418 MB / 0.757 GB, free: 24.58 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.4942, allocations: 4 kB / 0.757 GB, free: 24.57 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003373/0.4976, allocations: 4.573 MB / 0.7615 GB, free: 19.69 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/0.5, allocations: 0.8992 MB / 0.7624 GB, free: 18.84 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009114/0.5092, allocations: 7.292 MB / 0.7695 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009808/0.5101, allocations: 1.163 MB / 0.7706 GB, free: 10.23 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009519/0.5111, allocations: 438.3 kB / 0.771 GB, free: 9.801 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002697/0.5114, allocations: 136.5 kB / 0.7712 GB, free: 9.664 MB / 0.5573 GB Notification: Performance of SimCode: time 1.183e-06/0.5114, allocations: 0 / 0.7712 GB, free: 9.664 MB / 0.5573 GB Notification: Performance of Templates: time 0.06907/0.5804, allocations: 61.44 MB / 0.8312 GB, free: 13.37 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.35614460404031]