Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.001418/0.001418, allocations: 76.45 kB / 19.9 MB, free: 24 kB / 13.93 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.001379/0.001379, allocations: 173.8 kB / 23.19 MB, free: 1.383 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.9146/0.9146, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.729/0.729, allocations: 154.7 MB / 414.7 MB, free: 0.7344 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.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 79.81 kB / 0.6195 GB, free: 13.11 MB / 0.5886 GB [/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 FrontEnd - Absyn->SCode: time 0.5661/0.5673, allocations: 101.9 MB / 0.7191 GB, free: 23.62 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003939/0.5712, allocations: 4.117 MB / 0.7231 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00253/0.5738, allocations: 2.287 MB / 0.7254 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002241/0.574, allocations: 29.03 kB / 0.7254 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007979/0.5748, allocations: 377.5 kB / 0.7257 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0006636/0.5754, allocations: 392.9 kB / 0.7261 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000595/0.576, allocations: 315.9 kB / 0.7264 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006269/0.5767, allocations: 0.6822 MB / 0.7271 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003802/0.577, allocations: 233.9 kB / 0.7273 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005298/0.5776, allocations: 387.5 kB / 0.7277 GB, free: 18.31 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003937/0.578, allocations: 269.9 kB / 0.7279 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.909e-05/0.578, allocations: 29.81 kB / 0.728 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007083/0.5787, allocations: 384.7 kB / 0.7283 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.5789, allocations: 143.7 kB / 0.7285 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001504/0.579, allocations: 201 kB / 0.7287 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0007862/0.5798, allocations: 0.7384 MB / 0.7294 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.5798, allocations: 0 / 0.7294 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5798, allocations: 1.375 kB / 0.7294 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.5798, allocations: 4 kB / 0.7294 GB, free: 17.65 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0009353/0.5808, allocations: 0.7333 MB / 0.7301 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.5808, allocations: 10.06 kB / 0.7301 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009454/0.5818, allocations: 183.3 kB / 0.7303 GB, free: 17.07 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004393/0.5822, allocations: 378.2 kB / 0.7306 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.181e-05/0.5822, allocations: 25.95 kB / 0.7307 GB, free: 16.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.186e-05/0.5823, allocations: 34.61 kB / 0.7307 GB, free: 16.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006308/0.5829, allocations: 0.7283 MB / 0.7314 GB, free: 16.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.5829, allocations: 6.562 kB / 0.7314 GB, free: 16.28 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.583, allocations: 17.33 kB / 0.7314 GB, free: 16.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.341e-05/0.583, allocations: 50.88 kB / 0.7315 GB, free: 16.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005463/0.5836, allocations: 0.4918 MB / 0.732 GB, free: 16.09 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.5851, allocations: 3.136 MB / 0.735 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.5862, allocations: 0.6011 MB / 0.7356 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.5863, allocations: 168.2 kB / 0.7358 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.5863, allocations: 4.594 kB / 0.7358 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.5864, allocations: 43.02 kB / 0.7358 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=30): time 1.613e-06/0.5864, allocations: 0 / 0.7358 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.001362/0.5877, allocations: 1.065 MB / 0.7369 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.5877, allocations: 108.8 kB / 0.737 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.588, allocations: 380.9 kB / 0.7373 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.588, allocations: 30.52 kB / 0.7374 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.994e-05/0.5881, allocations: 295.1 kB / 0.7376 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.308e-05/0.5882, allocations: 121 kB / 0.7378 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.955e-05/0.5883, allocations: 110.1 kB / 0.7379 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.078e-05/0.5883, allocations: 348.7 kB / 0.7382 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.5885, allocations: 183.5 kB / 0.7384 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.5887, allocations: 375.8 kB / 0.7387 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004417/0.5892, allocations: 0.5852 MB / 0.7393 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5892, allocations: 2.562 kB / 0.7393 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.000696/0.5899, allocations: 0.675 MB / 0.74 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.5899, allocations: 8.656 kB / 0.74 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.5899, allocations: 8.25 kB / 0.74 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002287/0.5901, allocations: 94.23 kB / 0.7401 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.5904, allocations: 118.2 kB / 0.7402 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/0.5921, allocations: 3.959 MB / 0.744 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.5924, allocations: 29.47 kB / 0.7441 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.5924, allocations: 29.8 kB / 0.7441 GB, free: 6.559 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002189/0.5926, allocations: 205.7 kB / 0.7443 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.742e-05/0.5927, allocations: 51.55 kB / 0.7443 GB, free: 6.363 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006149/0.5933, allocations: 0.515 MB / 0.7448 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.5933, allocations: 4.375 kB / 0.7449 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5933, allocations: 6.484 kB / 0.7449 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.5933, allocations: 6.719 kB / 0.7449 GB, free: 6.129 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.5944, allocations: 1.147 MB / 0.746 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.5944, allocations: 4.609 kB / 0.746 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.5945, allocations: 62.95 kB / 0.746 GB, free: 5.398 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001568/0.5947, allocations: 89.81 kB / 0.7461 GB, free: 5.359 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.78e-05/0.5947, allocations: 9.328 kB / 0.7461 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/0.5961, allocations: 3.967 MB / 0.75 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5961, allocations: 2.906 kB / 0.75 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005872/0.5967, allocations: 0.7764 MB / 0.7508 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.5968, allocations: 73.19 kB / 0.7508 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.5969, allocations: 10.81 kB / 0.7509 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.597, allocations: 20.91 kB / 0.7509 GB, free: 0.9805 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/0.5971, allocations: 45.55 kB / 0.7509 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.5971, allocations: 15.17 kB / 0.7509 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002026/0.5973, allocations: 260.4 kB / 0.7512 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5973, allocations: 0 / 0.7512 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005738/0.5979, allocations: 120 kB / 0.7513 GB, free: 0.8125 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * 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 {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.552e-05/0.598, allocations: 109.9 kB / 0.7514 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007896/0.5988, allocations: 0.7832 MB / 0.7522 GB, free: 240 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5988, allocations: 1.375 kB / 0.7522 GB, free: 240 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004201/0.5992, allocations: 0.539 MB / 0.7527 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000642/0.5998, allocations: 129.2 kB / 0.7528 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.6013, allocations: 0.9285 MB / 0.7537 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.6016, allocations: 254.5 kB / 0.754 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002956/0.6019, allocations: 103.5 kB / 0.7541 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.806e-05/0.602, allocations: 39.23 kB / 0.7541 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of SimCode: time 8.72e-07/0.602, allocations: 0 / 0.7541 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of Templates: time 0.009946/0.612, allocations: 5.881 MB / 0.7598 GB, free: 14.04 MB / 0.6511 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.509075085981749] Failed to read output from testmodel.py, exit status != 0: 0.6189976279856637 0.6276319410000001 0.045905992 Calling exit ...