Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.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.0009154/0.0009154, allocations: 85.27 kB / 19.87 MB, free: 4.617 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.001016/0.001016, allocations: 165 kB / 23.27 MB, free: 1.219 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.9312/0.9312, allocations: 177.1 MB / 203.7 MB, free: 5.531 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.7918/0.7918, allocations: 154.9 MB / 415.1 MB, free: 268 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.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.5211 GB, free: 1.52 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.257e-05/1.398e-05, allocations: 4.281 kB / 0.5211 GB, free: 1.516 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.007449/0.007463, allocations: 9.582 MB / 0.5305 GB, free: 7.91 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.005389/0.01285, allocations: 5.92 MB / 0.5363 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004/0.01325, allocations: 79.31 kB / 0.5363 GB, free: 1.926 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006979/0.01395, allocations: 369.8 kB / 0.5367 GB, free: 1.562 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.001726/0.01568, allocations: 1.442 MB / 0.5381 GB, free: 136 kB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006889/0.01636, allocations: 0.6433 MB / 0.5387 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001532/0.0179, allocations: 2.615 MB / 0.5413 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008774/0.01877, allocations: 1.18 MB / 0.5424 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.01985, allocations: 1.589 MB / 0.544 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009021/0.02075, allocations: 1.01 MB / 0.545 GB, free: 9.055 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.0209, allocations: 164.9 kB / 0.5451 GB, free: 8.895 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003505/0.02125, allocations: 323.6 kB / 0.5454 GB, free: 8.578 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003416/0.02159, allocations: 0.651 MB / 0.5461 GB, free: 7.926 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004032/0.02199, allocations: 0.6469 MB / 0.5467 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0009881/0.02298, allocations: 1.534 MB / 0.5482 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.02298, allocations: 0 / 0.5482 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of FrontEnd: time 6.62e-07/0.02298, allocations: 0.5312 kB / 0.5482 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.023, allocations: 1.5 kB / 0.5482 GB, free: 5.738 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.001789/0.02478, allocations: 2.143 MB / 0.5503 GB, free: 3.559 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.731e-05/0.02481, allocations: 8.031 kB / 0.5503 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003307/0.02812, allocations: 0.8866 MB / 0.5512 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.02915, allocations: 1.141 MB / 0.5523 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.897e-05/0.02919, allocations: 90.73 kB / 0.5524 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.02935, allocations: 120.3 kB / 0.5525 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001581/0.03093, allocations: 1.705 MB / 0.5542 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.03096, allocations: 11.88 kB / 0.5542 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.711e-05/0.03106, allocations: 51.98 kB / 0.5542 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002697/0.03133, allocations: 134.2 kB / 0.5543 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007465/0.03207, allocations: 0.6686 MB / 0.555 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005548/0.03762, allocations: 7.811 MB / 0.5626 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009496/0.03857, allocations: 0.5801 MB / 0.5632 GB, free: 5.914 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003282/0.0389, allocations: 297.9 kB / 0.5635 GB, free: 5.625 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.553e-05/0.03894, allocations: 17 kB / 0.5635 GB, free: 5.609 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.03897, allocations: 46.39 kB / 0.5635 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=89): time 1.834e-06/0.03897, allocations: 0 / 0.5635 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of matching and sorting (n=131): time 0.007134/0.0461, allocations: 4.162 MB / 0.5676 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.04613, allocations: 68.72 kB / 0.5677 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005494/0.04668, allocations: 0.9285 MB / 0.5686 GB, free: 384 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.528e-05/0.04676, allocations: 45.7 kB / 0.5686 GB, free: 332 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/0.04708, allocations: 0.7968 MB / 0.5694 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/0.04734, allocations: 483.8 kB / 0.5699 GB, free: 15.04 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/0.04763, allocations: 269 kB / 0.5701 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.04776, allocations: 0.5393 MB / 0.5706 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003562/0.04811, allocations: 319.8 kB / 0.5709 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005142/0.04863, allocations: 0.6828 MB / 0.5716 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.04967, allocations: 1.055 MB / 0.5726 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.04968, allocations: 8 kB / 0.5727 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003046/0.05273, allocations: 2.11 MB / 0.5747 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.05274, allocations: 12.03 kB / 0.5747 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.05275, allocations: 8 kB / 0.5747 GB, free: 9.711 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003188/0.05594, allocations: 1.34 MB / 0.576 GB, free: 8.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005375/0.05648, allocations: 211.6 kB / 0.5762 GB, free: 8.113 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/0.06901, allocations: 25.94 MB / 0.6016 GB, free: 12.71 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006378/0.06964, allocations: 60.17 kB / 0.6016 GB, free: 12.65 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.882e-05/0.06972, allocations: 55.97 kB / 0.6017 GB, free: 12.59 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003165/0.07004, allocations: 236.3 kB / 0.6019 GB, free: 12.35 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002201/0.07026, allocations: 195.1 kB / 0.6021 GB, free: 12.16 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003083/0.07334, allocations: 2.04 MB / 0.6041 GB, free: 10.05 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.07335, allocations: 12 kB / 0.6041 GB, free: 10.04 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.07336, allocations: 12 kB / 0.6041 GB, free: 10.03 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.07337, allocations: 3.984 kB / 0.6041 GB, free: 10.02 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004584/0.07795, allocations: 3.267 MB / 0.6073 GB, free: 6.621 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.07796, allocations: 4 kB / 0.6073 GB, free: 6.617 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004371/0.0784, allocations: 143.8 kB / 0.6074 GB, free: 6.477 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003022/0.08142, allocations: 1.272 MB / 0.6087 GB, free: 5.148 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.986e-05/0.08149, allocations: 43.97 kB / 0.6087 GB, free: 5.105 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0119/0.09339, allocations: 25.15 MB / 0.6333 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.09339, allocations: 0 / 0.6333 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003132/0.09652, allocations: 2.049 MB / 0.6353 GB, free: 8.293 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004261/0.09695, allocations: 322.8 kB / 0.6356 GB, free: 7.977 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.09706, allocations: 28.05 kB / 0.6356 GB, free: 7.949 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005125/0.09757, allocations: 55.92 kB / 0.6357 GB, free: 7.895 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000265/0.09783, allocations: 132.7 kB / 0.6358 GB, free: 7.766 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.388e-05/0.0979, allocations: 35.97 kB / 0.6358 GB, free: 7.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003557/0.09825, allocations: 0.5409 MB / 0.6364 GB, free: 7.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.09825, allocations: 0 / 0.6364 GB, free: 7.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001385/0.09964, allocations: 0.5859 MB / 0.6369 GB, free: 6.594 MB / 0.6042 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002066/0.09984, allocations: 143 kB / 0.6371 GB, free: 6.441 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003068/0.1029, allocations: 3.711 MB / 0.6407 GB, free: 2.504 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.1029, allocations: 0 / 0.6407 GB, free: 2.504 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002363/0.1053, allocations: 3.16 MB / 0.6438 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.1064, allocations: 0.5126 MB / 0.6443 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003302/0.1097, allocations: 2.947 MB / 0.6472 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.1101, allocations: 459.1 kB / 0.6476 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006197/0.1107, allocations: 296.5 kB / 0.6479 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007391/0.1115, allocations: 489.8 kB / 0.6484 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of SimCode: time 9.11e-07/0.1115, allocations: 4 kB / 0.6484 GB, free: 10.35 MB / 0.6198 GB Notification: Performance of Templates: time 0.2405/0.3519, allocations: 44.12 MB / 0.6915 GB, free: 160.1 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.588004827965051]