Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.0009253/0.0009253, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009638/0.0009638, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9303/0.9303, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8454/0.8454, allocations: 154.9 MB / 415.9 MB, free: 264 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0.6562 kB / 0.5219 GB, free: 1.547 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.315e-05, allocations: 5.703 kB / 0.5219 GB, free: 1.543 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.007984/0.008007, allocations: 9.022 MB / 0.5307 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005486/0.01349, allocations: 2.824 MB / 0.5335 GB, free: 5.684 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000931/0.01442, allocations: 83.38 kB / 0.5335 GB, free: 5.602 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0008656/0.01529, allocations: 325.8 kB / 0.5339 GB, free: 5.281 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.01652, allocations: 0.6662 MB / 0.5345 GB, free: 4.617 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.01762, allocations: 0.6358 MB / 0.5351 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003163/0.02078, allocations: 3.605 MB / 0.5386 GB, free: 380 kB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002727/0.02351, allocations: 2.454 MB / 0.541 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003206/0.02671, allocations: 2.265 MB / 0.5433 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00276/0.02947, allocations: 1.804 MB / 0.545 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0005902/0.03006, allocations: 340 kB / 0.5453 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.03108, allocations: 463.7 kB / 0.5458 GB, free: 8.988 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.001251/0.03233, allocations: 1.438 MB / 0.5472 GB, free: 7.547 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001516/0.03384, allocations: 1.029 MB / 0.5482 GB, free: 6.516 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003229/0.03707, allocations: 2.684 MB / 0.5508 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.03708, allocations: 1.5 kB / 0.5508 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.72e-07/0.03708, allocations: 0 / 0.5508 GB, free: 3.824 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001004/0.03718, allocations: 0 / 0.5508 GB, free: 3.824 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.004281/0.04146, allocations: 2.784 MB / 0.5535 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.0415, allocations: 8.031 kB / 0.5535 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002834/0.04433, allocations: 0.8887 MB / 0.5544 GB, free: 100 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002054/0.04639, allocations: 1.283 MB / 0.5557 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.04652, allocations: 181.1 kB / 0.5558 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003572/0.04688, allocations: 236.3 kB / 0.5561 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003584/0.05046, allocations: 2.151 MB / 0.5582 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.213e-05/0.05051, allocations: 1.75 kB / 0.5582 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002205/0.05073, allocations: 100.4 kB / 0.5583 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001803/0.05091, allocations: 176.4 kB / 0.5584 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001687/0.0526, allocations: 0.764 MB / 0.5592 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01184/0.06444, allocations: 10.54 MB / 0.5695 GB, free: 100 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.06587, allocations: 0.6823 MB / 0.5701 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.06618, allocations: 198.1 kB / 0.5703 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.213e-05/0.06626, allocations: 25.8 kB / 0.5703 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.0663, allocations: 45.98 kB / 0.5704 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=72): time 4.458e-06/0.0663, allocations: 0 / 0.5704 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76): time 0.002639/0.06894, allocations: 1.081 MB / 0.5714 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000596/0.06954, allocations: 115.4 kB / 0.5715 GB, free: 13.88 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.07056, allocations: 0.9282 MB / 0.5725 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.263e-05/0.07062, allocations: 41.7 kB / 0.5725 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000754/0.07137, allocations: 1.219 MB / 0.5737 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.07161, allocations: 290.2 kB / 0.574 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003826/0.07199, allocations: 304.9 kB / 0.5743 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002867/0.07228, allocations: 0.6277 MB / 0.5749 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.07254, allocations: 147.9 kB / 0.575 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007205/0.07326, allocations: 0.9818 MB / 0.576 GB, free: 8.922 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.07438, allocations: 1.253 MB / 0.5772 GB, free: 7.332 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.779e-06/0.07439, allocations: 4 kB / 0.5772 GB, free: 7.328 MB / 0.5417 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001742/0.07614, allocations: 1.101 MB / 0.5783 GB, free: 6.215 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.07616, allocations: 13.97 kB / 0.5783 GB, free: 6.203 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/0.07619, allocations: 24 kB / 0.5783 GB, free: 6.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002406/0.07643, allocations: 110.8 kB / 0.5784 GB, free: 6.055 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000775/0.0772, allocations: 308 kB / 0.5787 GB, free: 5.754 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.888e-05/0.07723, allocations: 39.8 kB / 0.5787 GB, free: 5.715 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006489/0.07788, allocations: 70.22 kB / 0.5788 GB, free: 5.648 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-05/0.07796, allocations: 56 kB / 0.5789 GB, free: 5.594 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004782/0.07844, allocations: 254.9 kB / 0.5791 GB, free: 5.336 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001895/0.07863, allocations: 139.3 kB / 0.5792 GB, free: 5.199 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009116/0.07954, allocations: 0.5822 MB / 0.5798 GB, free: 4.586 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.455e-06/0.07955, allocations: 12 kB / 0.5798 GB, free: 4.574 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.07955, allocations: 0.5312 kB / 0.5798 GB, free: 4.574 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.07956, allocations: 5.141 kB / 0.5798 GB, free: 4.57 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/0.08233, allocations: 1.841 MB / 0.5816 GB, free: 2.645 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.08234, allocations: 4 kB / 0.5816 GB, free: 2.641 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/0.08272, allocations: 127.8 kB / 0.5817 GB, free: 2.516 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001959/0.08291, allocations: 88.27 kB / 0.5818 GB, free: 2.414 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.08295, allocations: 16 kB / 0.5818 GB, free: 2.398 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.307e-06/0.08296, allocations: 11.98 kB / 0.5819 GB, free: 2.387 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.08296, allocations: 4 kB / 0.5819 GB, free: 2.383 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009288/0.08389, allocations: 1.019 MB / 0.5829 GB, free: 1.297 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000267/0.08416, allocations: 171.2 kB / 0.583 GB, free: 1.129 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.951e-05/0.08426, allocations: 16 kB / 0.583 GB, free: 1.113 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003624/0.08462, allocations: 23.98 kB / 0.5831 GB, free: 1.09 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.08473, allocations: 60.48 kB / 0.5831 GB, free: 1.031 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.403e-05/0.08476, allocations: 16 kB / 0.5831 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004243/0.08518, allocations: 487.5 kB / 0.5836 GB, free: 0.5273 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.1e-08/0.08518, allocations: 4.562 kB / 0.5836 GB, free: 0.5234 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001154/0.08634, allocations: 395.9 kB / 0.584 GB, free: 140 kB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001695/0.08651, allocations: 125.1 kB / 0.5841 GB, free: 8 kB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009941/0.0875, allocations: 0.681 MB / 0.5848 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.0875, allocations: 1.312 kB / 0.5848 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006611/0.08817, allocations: 290.1 kB / 0.585 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.08926, allocations: 270.7 kB / 0.5853 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004586/0.09384, allocations: 3.295 MB / 0.5885 GB, free: 11.38 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005632/0.09441, allocations: 0.5711 MB / 0.5891 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005475/0.09496, allocations: 169.3 kB / 0.5892 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004913/0.09545, allocations: 314 kB / 0.5895 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of SimCode: time 1.002e-06/0.09545, allocations: 4 kB / 0.5895 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of Templates: time 0.02518/0.1206, allocations: 14 MB / 0.6032 GB, free: 12.68 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.175737265963107]