Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001151/0.001151, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002166/0.003317, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001281/0.001281, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001758/0.003039, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9996/0.9996, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09429/1.094, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8141/0.8141, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/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 NFInstanceAPI.mkTop(): time 0.2664/1.081, allocations: 49.14 MB / 448.6 MB, free: 5.914 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 449.9 MB, free: 4.613 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.292e-05/1.4e-05, allocations: 5.359 kB / 450 MB, free: 4.609 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.008429/0.008443, allocations: 10.62 MB / 460.6 MB, free: 10.02 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.008193/0.01664, allocations: 7.073 MB / 467.6 MB, free: 2.973 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007621/0.0174, allocations: 79.25 kB / 467.7 MB, free: 2.895 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006693/0.01807, allocations: 426 kB / 468.1 MB, free: 2.477 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002901/0.02097, allocations: 1.792 MB / 469.9 MB, free: 0.6953 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.02199, allocations: 0.6549 MB / 470.6 MB, free: 48 kB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002517/0.02451, allocations: 2.984 MB / 473.6 MB, free: 13.06 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.02556, allocations: 1.17 MB / 474.7 MB, free: 11.84 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001906/0.02747, allocations: 2.265 MB / 477 MB, free: 9.566 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.02852, allocations: 1.05 MB / 478.1 MB, free: 8.516 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001857/0.02871, allocations: 157.4 kB / 478.2 MB, free: 8.363 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005059/0.02921, allocations: 323.6 kB / 478.5 MB, free: 8.047 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004261/0.02964, allocations: 0.5648 MB / 479.1 MB, free: 7.48 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004459/0.03009, allocations: 0.5419 MB / 479.6 MB, free: 6.938 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.03122, allocations: 1.461 MB / 481.1 MB, free: 5.473 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.03123, allocations: 0 / 481.1 MB, free: 5.473 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.03123, allocations: 6.094 kB / 481.1 MB, free: 5.469 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.983e-05/0.03126, allocations: 0 / 481.1 MB, free: 5.469 MB / 458.7 MB 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.002064/0.03332, allocations: 2.391 MB / 483.5 MB, free: 3.051 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.03335, allocations: 8.031 kB / 483.5 MB, free: 3.043 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003162/0.03651, allocations: 0.9424 MB / 484.4 MB, free: 2.086 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.03768, allocations: 1.061 MB / 485.5 MB, free: 0.9883 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.756e-05/0.03773, allocations: 94.61 kB / 485.6 MB, free: 0.8945 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.03789, allocations: 125.5 kB / 485.7 MB, free: 0.7734 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.03959, allocations: 1.612 MB / 487.3 MB, free: 14.97 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/0.03963, allocations: 16.86 kB / 487.3 MB, free: 14.95 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.03973, allocations: 51.98 kB / 487.4 MB, free: 14.9 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002841/0.04001, allocations: 142.2 kB / 487.5 MB, free: 14.76 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000798/0.04081, allocations: 0.5684 MB / 488.1 MB, free: 14.19 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005232/0.04604, allocations: 5.736 MB / 493.8 MB, free: 8.328 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008897/0.04693, allocations: 0.5791 MB / 494.4 MB, free: 7.758 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003206/0.04725, allocations: 248.7 kB / 494.7 MB, free: 7.52 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.254e-05/0.0473, allocations: 13 kB / 494.7 MB, free: 7.508 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.04733, allocations: 51.5 kB / 494.7 MB, free: 7.449 MB / 474.7 MB Notification: Performance of pre-optimization done (n=89): time 1.863e-06/0.04733, allocations: 0 / 494.7 MB, free: 7.449 MB / 474.7 MB Notification: Performance of matching and sorting (n=90): time 0.008652/0.05598, allocations: 3.962 MB / 498.7 MB, free: 3.594 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.05601, allocations: 68.34 kB / 498.7 MB, free: 3.516 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005669/0.05658, allocations: 0.8989 MB / 499.6 MB, free: 2.609 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.037e-05/0.05665, allocations: 41.7 kB / 499.7 MB, free: 2.562 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005191/0.05717, allocations: 0.5851 MB / 0.4885 GB, free: 1.969 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.05737, allocations: 329.1 kB / 0.4889 GB, free: 1.645 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/0.05759, allocations: 188.3 kB / 0.489 GB, free: 1.457 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.936e-05/0.05768, allocations: 349.9 kB / 0.4894 GB, free: 1.109 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.05794, allocations: 193 kB / 0.4896 GB, free: 0.9219 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003735/0.05831, allocations: 442.9 kB / 0.49 GB, free: 408 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006941/0.059, allocations: 0.7319 MB / 0.4907 GB, free: 15.58 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.05901, allocations: 3.938 kB / 0.4907 GB, free: 15.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001854/0.06086, allocations: 1.276 MB / 0.4919 GB, free: 14.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.06088, allocations: 8 kB / 0.492 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.06089, allocations: 8 kB / 0.492 GB, free: 14.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002105/0.06299, allocations: 0.8719 MB / 0.4928 GB, free: 13.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005892/0.06358, allocations: 207.7 kB / 0.493 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005432/0.06901, allocations: 6.99 MB / 0.4998 GB, free: 5.828 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005286/0.06954, allocations: 47.98 kB / 0.4999 GB, free: 5.781 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.585e-05/0.06961, allocations: 46.72 kB / 0.4999 GB, free: 5.738 MB / 490.7 MB 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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,8,100.0%), (3,17,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000281/0.06989, allocations: 184.3 kB / 0.5001 GB, free: 5.547 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/0.07004, allocations: 115.9 kB / 0.5002 GB, free: 5.434 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001893/0.07194, allocations: 1.253 MB / 0.5014 GB, free: 4.148 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.07194, allocations: 15.94 kB / 0.5015 GB, free: 4.133 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.07195, allocations: 8 kB / 0.5015 GB, free: 4.125 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.07196, allocations: 3.984 kB / 0.5015 GB, free: 4.121 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00277/0.07473, allocations: 1.973 MB / 0.5034 GB, free: 2.086 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.07473, allocations: 4 kB / 0.5034 GB, free: 2.082 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004704/0.0752, allocations: 139.8 kB / 0.5035 GB, free: 1.945 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002813/0.07548, allocations: 243.1 kB / 0.5038 GB, free: 1.707 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002061/0.07754, allocations: 0.849 MB / 0.5046 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-05/0.0776, allocations: 31.95 kB / 0.5046 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006016/0.08362, allocations: 7.002 MB / 0.5115 GB, free: 9.438 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.08362, allocations: 8.031 kB / 0.5115 GB, free: 9.43 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.08554, allocations: 1.259 MB / 0.5127 GB, free: 8.117 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.08566, allocations: 23.98 kB / 0.5127 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004279/0.08608, allocations: 39.98 kB / 0.5128 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002533/0.08634, allocations: 88.77 kB / 0.5128 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.893e-05/0.0864, allocations: 27.97 kB / 0.5129 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003691/0.08676, allocations: 459.7 kB / 0.5133 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3e-08/0.08676, allocations: 0 / 0.5133 GB, free: 7.488 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000982/0.08775, allocations: 488 kB / 0.5138 GB, free: 7.012 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(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.0001838/0.08793, allocations: 108.4 kB / 0.5139 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001551/0.08948, allocations: 1.473 MB / 0.5153 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.313e-05/0.08951, allocations: 35.39 kB / 0.5153 GB, free: 5.344 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.09072, allocations: 1.164 MB / 0.5165 GB, free: 4.125 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/0.0931, allocations: 4.74 MB / 0.5211 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007661/0.1008, allocations: 2.595 MB / 0.5236 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.1011, allocations: 396.1 kB / 0.524 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006366/0.1017, allocations: 283.9 kB / 0.5243 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007129/0.1024, allocations: 403 kB / 0.5247 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of SimCode: time 9.72e-07/0.1024, allocations: 0 / 0.5247 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of Templates: time 0.04164/0.144, allocations: 36.74 MB / 0.5606 GB, free: 6.754 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.0814288994297385]