Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.04423/0.04423, allocations: 9.13 MB / 28.99 MB, free: 344 kB / 18.57 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] 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.001022/0.001022, allocations: 94.64 kB / 35.33 MB, free: 0.9375 MB / 24.77 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.0014/0.0014, allocations: 166.3 kB / 38.73 MB, free: 2.406 MB / 24.77 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.004/1.004, allocations: 177.1 MB / 219.2 MB, free: 10.12 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/package.mo): time 0.003965/0.003965, allocations: 0.8337 MB / 276.5 MB, free: 0.7383 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo): time 1.729/1.729, allocations: 274.9 MB / 0.5419 GB, free: 0.6211 MB / 0.4949 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.1/package.mo) Using package SDF with version 0.4.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF 0.4.5/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) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Running command: translateModel(AixLib.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(AixLib.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.472e-06/1.472e-06, allocations: 0 / 0.6378 GB, free: 14.14 MB / 0.6043 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.874e-05, allocations: 6.312 kB / 0.6379 GB, free: 14.13 MB / 0.6043 GB Notification: Performance of NFInst.instantiate(AixLib.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.008442/0.008471, allocations: 3.235 MB / 0.641 GB, free: 10.88 MB / 0.6043 GB Notification: Performance of NFInst.instExpressions: time 0.00536/0.01383, allocations: 1.223 MB / 0.6422 GB, free: 9.645 MB / 0.6043 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.01404, allocations: 23.75 kB / 0.6422 GB, free: 9.621 MB / 0.6043 GB Notification: Performance of NFTyping.typeComponents: time 0.003562/0.0176, allocations: 131.1 kB / 0.6424 GB, free: 9.492 MB / 0.6043 GB Notification: Performance of NFTyping.typeBindings: time 0.00065/0.01825, allocations: 286.2 kB / 0.6426 GB, free: 9.211 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005182/0.01877, allocations: 227.5 kB / 0.6428 GB, free: 8.988 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.0007568/0.01952, allocations: 0.7023 MB / 0.6435 GB, free: 8.281 MB / 0.6043 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003704/0.01989, allocations: 246.1 kB / 0.6438 GB, free: 8.039 MB / 0.6043 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005182/0.02041, allocations: 374.9 kB / 0.6441 GB, free: 7.672 MB / 0.6043 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003447/0.02386, allocations: 243.3 kB / 0.6444 GB, free: 7.434 MB / 0.6043 GB Notification: Performance of NFPackage.collectConstants: time 4.864e-05/0.02391, allocations: 28 kB / 0.6444 GB, free: 7.406 MB / 0.6043 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.02411, allocations: 95.8 kB / 0.6445 GB, free: 7.312 MB / 0.6043 GB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.02425, allocations: 159.5 kB / 0.6446 GB, free: 7.156 MB / 0.6043 GB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.02442, allocations: 151.6 kB / 0.6448 GB, free: 7.008 MB / 0.6043 GB Notification: Performance of NFConvertDAE.convert: time 0.0005066/0.02492, allocations: 406.4 kB / 0.6452 GB, free: 6.609 MB / 0.6043 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.02493, allocations: 0 / 0.6452 GB, free: 6.609 MB / 0.6043 GB Notification: Performance of FrontEnd: time 1.463e-06/0.02493, allocations: 0 / 0.6452 GB, free: 6.609 MB / 0.6043 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.02493, allocations: 4 kB / 0.6452 GB, free: 6.605 MB / 0.6043 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.0007794/0.02571, allocations: 0.6435 MB / 0.6458 GB, free: 5.938 MB / 0.6043 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.02575, allocations: 19.97 kB / 0.6458 GB, free: 5.918 MB / 0.6043 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004039/0.02979, allocations: 200.5 kB / 0.646 GB, free: 5.723 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005551/0.03034, allocations: 373.2 kB / 0.6464 GB, free: 5.332 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.03037, allocations: 21.38 kB / 0.6464 GB, free: 5.312 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.266e-05/0.03043, allocations: 44.28 kB / 0.6464 GB, free: 5.27 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005347/0.03096, allocations: 0.5184 MB / 0.6469 GB, free: 4.641 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.03098, allocations: 8.125 kB / 0.6469 GB, free: 4.633 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/0.03102, allocations: 16.36 kB / 0.6469 GB, free: 4.617 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.428e-05/0.03109, allocations: 59.89 kB / 0.647 GB, free: 4.559 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.03135, allocations: 183.5 kB / 0.6472 GB, free: 4.379 MB / 0.6043 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004958/0.03631, allocations: 2.812 MB / 0.6499 GB, free: 1.449 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009193/0.03723, allocations: 0.5153 MB / 0.6504 GB, free: 0.9023 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.049e-05/0.03732, allocations: 58.56 kB / 0.6505 GB, free: 0.8359 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.03735, allocations: 7.938 kB / 0.6505 GB, free: 0.8281 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.03738, allocations: 34.56 kB / 0.6505 GB, free: 0.7852 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=30): time 3.787e-06/0.03738, allocations: 0 / 0.6505 GB, free: 0.7852 MB / 0.6043 GB Notification: Performance of matching and sorting (n=33): time 0.001053/0.03843, allocations: 439.8 kB / 0.6509 GB, free: 344 kB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.03848, allocations: 118.7 kB / 0.6511 GB, free: 200 kB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000276/0.03876, allocations: 351.1 kB / 0.6514 GB, free: 15.84 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.03878, allocations: 33.69 kB / 0.6514 GB, free: 15.8 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.03892, allocations: 264.6 kB / 0.6517 GB, free: 15.53 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 7.677e-05/0.03899, allocations: 119 kB / 0.6518 GB, free: 15.41 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001149/0.03911, allocations: 98.22 kB / 0.6519 GB, free: 15.31 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.03922, allocations: 358.7 kB / 0.6522 GB, free: 14.95 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.363e-05/0.0393, allocations: 49.3 kB / 0.6523 GB, free: 14.91 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001992/0.0395, allocations: 264.2 kB / 0.6525 GB, free: 14.55 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005689/0.04007, allocations: 356.4 kB / 0.6529 GB, free: 14.11 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.04007, allocations: 7.938 kB / 0.6529 GB, free: 14.11 MB / 0.6199 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0004027/0.04048, allocations: 391.8 kB / 0.6532 GB, free: 13.7 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.04049, allocations: 8 kB / 0.6533 GB, free: 13.7 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.0405, allocations: 11.94 kB / 0.6533 GB, free: 13.68 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002005/0.0407, allocations: 79.72 kB / 0.6533 GB, free: 13.59 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.0409, allocations: 103.8 kB / 0.6534 GB, free: 13.49 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/0.04266, allocations: 3.589 MB / 0.6569 GB, free: 9.609 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.04283, allocations: 20.03 kB / 0.657 GB, free: 9.59 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.04285, allocations: 20 kB / 0.657 GB, free: 9.57 MB / 0.6199 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.0001326/0.04298, allocations: 152.4 kB / 0.6571 GB, free: 9.41 MB / 0.6199 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.809e-05/0.04304, allocations: 35.97 kB / 0.6572 GB, free: 9.375 MB / 0.6199 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003178/0.04336, allocations: 275.5 kB / 0.6574 GB, free: 9.09 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.04337, allocations: 11.94 kB / 0.6574 GB, free: 9.078 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.04337, allocations: 0 / 0.6574 GB, free: 9.078 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.04337, allocations: 4 kB / 0.6574 GB, free: 9.074 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000778/0.04415, allocations: 0.8756 MB / 0.6583 GB, free: 8.133 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.04415, allocations: 4 kB / 0.6583 GB, free: 8.129 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.04426, allocations: 47.91 kB / 0.6583 GB, free: 8.082 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000154/0.04442, allocations: 79.23 kB / 0.6584 GB, free: 7.992 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.04443, allocations: 12 kB / 0.6584 GB, free: 7.98 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001767/0.0462, allocations: 3.592 MB / 0.6619 GB, free: 4.098 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.0462, allocations: 8.188 kB / 0.6619 GB, free: 4.09 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000425/0.04663, allocations: 0.6629 MB / 0.6626 GB, free: 3.363 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 8.487e-05/0.04671, allocations: 59.69 kB / 0.6627 GB, free: 3.305 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.04674, allocations: 15.95 kB / 0.6627 GB, free: 3.289 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.04688, allocations: 11.98 kB / 0.6627 GB, free: 3.277 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.04693, allocations: 35.83 kB / 0.6627 GB, free: 3.242 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.04694, allocations: 12 kB / 0.6627 GB, free: 3.23 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 9.865e-05/0.04704, allocations: 136.7 kB / 0.6629 GB, free: 3.094 MB / 0.6199 GB Notification: Performance of sort global known variables: time 3e-08/0.04704, allocations: 0 / 0.6629 GB, free: 3.094 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.0004506/0.04749, allocations: 124 kB / 0.663 GB, free: 2.973 MB / 0.6199 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 0.0001221/0.04762, allocations: 92.34 kB / 0.6631 GB, free: 2.875 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.0005357/0.04815, allocations: 0.5802 MB / 0.6636 GB, free: 2.258 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/0.04816, allocations: 8 kB / 0.6636 GB, free: 2.25 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.0002822/0.04845, allocations: 462.9 kB / 0.6641 GB, free: 1.758 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004945/0.04894, allocations: 129.8 kB / 0.6642 GB, free: 1.633 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.05002, allocations: 0.8454 MB / 0.665 GB, free: 0.7148 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.05012, allocations: 137.8 kB / 0.6652 GB, free: 0.5625 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.0001462/0.05027, allocations: 60.38 kB / 0.6652 GB, free: 0.5039 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001847/0.05045, allocations: 145.3 kB / 0.6654 GB, free: 368 kB / 0.6199 GB Notification: Performance of SimCode: time 1.293e-06/0.05046, allocations: 0 / 0.6654 GB, free: 368 kB / 0.6199 GB Notification: Performance of Templates: time 0.008828/0.05928, allocations: 6.334 MB / 0.6715 GB, free: 10.02 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 660] (rm -f AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -lv LOG_STATS > AixLib_AixLib.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.04840028192848]