Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.0008897/0.0008897, allocations: 93.06 kB / 19.65 MB, free: 276 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.001501/0.001501, allocations: 165 kB / 23.02 MB, free: 1.547 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.023/1.023, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.7825/0.7825, allocations: 154.6 MB / 414.5 MB, free: 0.6914 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.056e-06/3.056e-06, allocations: 4 kB / 0.5203 GB, free: 2.211 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.365e-05, allocations: 3.312 kB / 0.5203 GB, free: 2.207 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.009639/0.009663, allocations: 10.56 MB / 0.5306 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.008166/0.01783, allocations: 6.928 MB / 0.5374 GB, free: 0.7148 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008145/0.01864, allocations: 79.31 kB / 0.5375 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009016/0.01954, allocations: 392.9 kB / 0.5378 GB, free: 256 kB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.002736/0.02228, allocations: 1.706 MB / 0.5395 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009634/0.02324, allocations: 0.6491 MB / 0.5401 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002134/0.02538, allocations: 2.86 MB / 0.5429 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001007/0.02639, allocations: 1.192 MB / 0.5441 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/0.02782, allocations: 2.001 MB / 0.5461 GB, free: 7.82 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008937/0.02871, allocations: 1.017 MB / 0.5471 GB, free: 6.801 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001538/0.02886, allocations: 161.4 kB / 0.5472 GB, free: 6.645 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004979/0.02936, allocations: 323.6 kB / 0.5475 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003944/0.02976, allocations: 0.6504 MB / 0.5482 GB, free: 5.676 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004737/0.03023, allocations: 0.6507 MB / 0.5488 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.03142, allocations: 1.558 MB / 0.5503 GB, free: 3.461 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.03142, allocations: 0 / 0.5503 GB, free: 3.461 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.323e-06/0.03142, allocations: 0 / 0.5503 GB, free: 3.461 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.329e-05/0.03143, allocations: 2.156 kB / 0.5503 GB, free: 3.461 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.002042/0.03347, allocations: 2.189 MB / 0.5524 GB, free: 1.234 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.03351, allocations: 12.03 kB / 0.5525 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004532/0.03804, allocations: 1.8 MB / 0.5542 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.03957, allocations: 1.267 MB / 0.5555 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.032e-05/0.03962, allocations: 86.69 kB / 0.5555 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.0398, allocations: 128.2 kB / 0.5557 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/0.04207, allocations: 2.157 MB / 0.5578 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.0421, allocations: 15.81 kB / 0.5578 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.04221, allocations: 51.98 kB / 0.5578 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003294/0.04254, allocations: 195 kB / 0.558 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.04379, allocations: 0.8533 MB / 0.5588 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006595/0.05039, allocations: 8.358 MB / 0.567 GB, free: 1.805 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.05176, allocations: 0.8324 MB / 0.5678 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004931/0.05225, allocations: 365.5 kB / 0.5682 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.663e-05/0.05231, allocations: 13 kB / 0.5682 GB, free: 0.6016 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.05234, allocations: 54.39 kB / 0.5682 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=89): time 1.683e-06/0.05234, allocations: 0 / 0.5682 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of matching and sorting (n=153): time 0.01069/0.06303, allocations: 5.914 MB / 0.574 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.06307, allocations: 68.72 kB / 0.5741 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008531/0.06392, allocations: 1.005 MB / 0.5751 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.552e-05/0.06402, allocations: 53.7 kB / 0.5751 GB, free: 9.484 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005061/0.06452, allocations: 0.8098 MB / 0.5759 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003339/0.06486, allocations: 0.5461 MB / 0.5764 GB, free: 8.113 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003741/0.06523, allocations: 289.1 kB / 0.5767 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.06534, allocations: 480.7 kB / 0.5772 GB, free: 7.352 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006675/0.06601, allocations: 479.7 kB / 0.5776 GB, free: 6.883 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008449/0.06685, allocations: 0.847 MB / 0.5785 GB, free: 5.906 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/0.06842, allocations: 1.387 MB / 0.5798 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.06843, allocations: 7.938 kB / 0.5798 GB, free: 4.383 MB / 0.5417 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.004548/0.07298, allocations: 2.798 MB / 0.5825 GB, free: 1.539 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.073, allocations: 17.91 kB / 0.5826 GB, free: 1.523 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.07301, allocations: 4 kB / 0.5826 GB, free: 1.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004211/0.07723, allocations: 1.673 MB / 0.5842 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007085/0.07793, allocations: 299.5 kB / 0.5845 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01424/0.09218, allocations: 19.4 MB / 0.6034 GB, free: 11.16 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009075/0.09308, allocations: 191.7 kB / 0.6036 GB, free: 10.97 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.09318, allocations: 71.95 kB / 0.6037 GB, free: 10.9 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004004/0.09359, allocations: 240.3 kB / 0.6039 GB, free: 10.66 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002526/0.09384, allocations: 215 kB / 0.6041 GB, free: 10.45 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004403/0.09824, allocations: 2.722 MB / 0.6068 GB, free: 7.672 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.09825, allocations: 12 kB / 0.6068 GB, free: 7.66 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.83e-05/0.09827, allocations: 20 kB / 0.6068 GB, free: 7.641 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.09828, allocations: 15.91 kB / 0.6068 GB, free: 7.625 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006223/0.1045, allocations: 4.074 MB / 0.6108 GB, free: 3.434 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.1045, allocations: 0 / 0.6108 GB, free: 3.434 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005748/0.1051, allocations: 243.6 kB / 0.611 GB, free: 3.195 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003904/0.109, allocations: 1.612 MB / 0.6126 GB, free: 1.547 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.518e-05/0.1091, allocations: 39.97 kB / 0.6126 GB, free: 1.508 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01418/0.1233, allocations: 19.28 MB / 0.6315 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.1233, allocations: 11.94 kB / 0.6315 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004076/0.1273, allocations: 2.615 MB / 0.634 GB, free: 10.52 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005506/0.1279, allocations: 386.7 kB / 0.6344 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.128, allocations: 31.98 kB / 0.6344 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007596/0.1288, allocations: 207.7 kB / 0.6346 GB, free: 9.906 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003264/0.1291, allocations: 164.9 kB / 0.6348 GB, free: 9.742 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.644e-05/0.1292, allocations: 47.97 kB / 0.6348 GB, free: 9.695 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000536/0.1297, allocations: 0.6175 MB / 0.6354 GB, free: 9.074 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4e-08/0.1297, allocations: 0 / 0.6354 GB, free: 9.074 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001545/0.1313, allocations: 0.6562 MB / 0.6361 GB, free: 8.418 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002592/0.1315, allocations: 139.1 kB / 0.6362 GB, free: 8.273 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004112/0.1356, allocations: 3.437 MB / 0.6396 GB, free: 4.691 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.1356, allocations: 0 / 0.6396 GB, free: 4.691 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.002513/0.1382, allocations: 2.777 MB / 0.6423 GB, free: 1.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.1394, allocations: 0.5359 MB / 0.6428 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004304/0.1437, allocations: 3.203 MB / 0.6459 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.1442, allocations: 0.5082 MB / 0.6464 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0007084/0.1449, allocations: 321.1 kB / 0.6467 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.1452, allocations: 104.4 kB / 0.6468 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/0.1452, allocations: 0 / 0.6468 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of Templates: time 0.2505/0.3957, allocations: 47.49 MB / 0.6932 GB, free: 162.6 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.082595266401768]