Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.0008288/0.0008288, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007626/0.0007626, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8421/0.8421, allocations: 177.1 MB / 203.5 MB, free: 5.734 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-531:686: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-531:694: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.6986/0.6986, allocations: 154.6 MB / 414.5 MB, free: 0.7969 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 3.938 kB / 0.6194 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.388e-05/1.521e-05, allocations: 2.281 kB / 0.6194 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02232/0.02233, allocations: 32.99 MB / 0.6516 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0115/0.03383, allocations: 11.37 MB / 0.6627 GB, free: 0.6523 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001692/0.03552, allocations: 210.4 kB / 0.6629 GB, free: 456 kB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004323/0.03984, allocations: 4.272 MB / 0.667 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002909/0.04275, allocations: 2.148 MB / 0.6691 GB, free: 10 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003231/0.04598, allocations: 2.433 MB / 0.6715 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.2608/0.3068, allocations: 8.614 MB / 0.6799 GB, free: 53.14 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005465/0.3123, allocations: 6.188 MB / 0.686 GB, free: 52.64 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00362/0.3159, allocations: 5.399 MB / 0.6912 GB, free: 52.64 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002321/0.3182, allocations: 3.9 MB / 0.6951 GB, free: 52.61 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004721/0.3187, allocations: 0.7798 MB / 0.6958 GB, free: 52.61 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/0.3205, allocations: 1.922 MB / 0.6977 GB, free: 52.54 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001295/0.3218, allocations: 3.278 MB / 0.7009 GB, free: 52.24 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.323, allocations: 2.368 MB / 0.7032 GB, free: 52.03 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.007243/0.3302, allocations: 12.24 MB / 0.7152 GB, free: 49.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.3303, allocations: 0.5625 kB / 0.7152 GB, free: 49.7 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3303, allocations: 1.219 kB / 0.7152 GB, free: 49.7 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001759/0.3304, allocations: 0.5625 kB / 0.7152 GB, free: 49.7 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.00719/0.3376, allocations: 5.809 MB / 0.7208 GB, free: 46.53 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3377, allocations: 9.969 kB / 0.7208 GB, free: 46.53 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002884/0.3405, allocations: 1.099 MB / 0.7219 GB, free: 46.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003661/0.3442, allocations: 3.423 MB / 0.7253 GB, free: 44.67 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/0.3444, allocations: 411.5 kB / 0.7257 GB, free: 44.49 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005893/0.345, allocations: 0.5473 MB / 0.7262 GB, free: 44.31 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008803/0.3538, allocations: 9.378 MB / 0.7353 GB, free: 40.21 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.539e-05/0.3539, allocations: 33.5 kB / 0.7354 GB, free: 40.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003993/0.3543, allocations: 237.5 kB / 0.7356 GB, free: 40.04 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002606/0.3545, allocations: 351.4 kB / 0.7359 GB, free: 40 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006738/0.3613, allocations: 6.82 MB / 0.7426 GB, free: 37.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01589/0.3772, allocations: 24.22 MB / 0.7662 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001876/0.379, allocations: 2.303 MB / 0.7685 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001402/0.3804, allocations: 1.776 MB / 0.7702 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-05/0.3805, allocations: 21.25 kB / 0.7703 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.3805, allocations: 54.91 kB / 0.7703 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=179): time 3.426e-06/0.3805, allocations: 0 / 0.7703 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of matching and sorting (n=182): time 0.0124/0.3929, allocations: 9.668 MB / 0.7797 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.393, allocations: 75.38 kB / 0.7798 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009529/0.3939, allocations: 1.44 MB / 0.7812 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.947e-05/0.394, allocations: 57.7 kB / 0.7813 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004659/0.3945, allocations: 2.319 MB / 0.7835 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/0.3947, allocations: 0.6483 MB / 0.7842 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003112/0.395, allocations: 404.2 kB / 0.7846 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.733e-05/0.395, allocations: 301.1 kB / 0.7848 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008706/0.3959, allocations: 1.176 MB / 0.786 GB, free: 7.969 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.3969, allocations: 1.884 MB / 0.7878 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/0.3991, allocations: 3.375 MB / 0.7911 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.3991, allocations: 8 kB / 0.7911 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004138/0.4032, allocations: 4.534 MB / 0.7956 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.4032, allocations: 17.25 kB / 0.7956 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.4032, allocations: 32.06 kB / 0.7956 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002099/0.4053, allocations: 1.572 MB / 0.7971 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006112/0.406, allocations: 355.5 kB / 0.7975 GB, free: 11.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01455/0.4205, allocations: 17.82 MB / 0.8149 GB, free: 9.719 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009821/0.4215, allocations: 115.9 kB / 0.815 GB, free: 9.605 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.4216, allocations: 96 kB / 0.8151 GB, free: 9.512 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * 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 {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002937/0.4245, allocations: 1.893 MB / 0.8169 GB, free: 7.633 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.4247, allocations: 226.6 kB / 0.8172 GB, free: 7.41 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00418/0.4289, allocations: 4.037 MB / 0.8211 GB, free: 3.402 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.4289, allocations: 19.94 kB / 0.8211 GB, free: 3.383 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.4289, allocations: 24 kB / 0.8211 GB, free: 3.359 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.4289, allocations: 11.95 kB / 0.8211 GB, free: 3.348 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008623/0.4376, allocations: 7.829 MB / 0.8288 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.4376, allocations: 4 kB / 0.8288 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000382/0.4379, allocations: 186.7 kB / 0.829 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001761/0.4397, allocations: 1.351 MB / 0.8303 GB, free: 9.984 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.271e-05/0.4398, allocations: 36 kB / 0.8303 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01262/0.4524, allocations: 16.6 MB / 0.8465 GB, free: 8.988 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4524, allocations: 4 kB / 0.8465 GB, free: 8.984 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004036/0.4564, allocations: 4.016 MB / 0.8505 GB, free: 4.934 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006487/0.4571, allocations: 464.8 kB / 0.8509 GB, free: 4.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.4572, allocations: 39.89 kB / 0.851 GB, free: 4.441 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004571/0.4577, allocations: 87.89 kB / 0.851 GB, free: 4.355 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/0.4579, allocations: 173.2 kB / 0.8512 GB, free: 4.191 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-05/0.458, allocations: 48 kB / 0.8512 GB, free: 4.145 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007897/0.4588, allocations: 0.9232 MB / 0.8521 GB, free: 3.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4588, allocations: 0 / 0.8521 GB, free: 3.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002355/0.4611, allocations: 0.9878 MB / 0.8531 GB, free: 2.246 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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 {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001957/0.4613, allocations: 138.1 kB / 0.8532 GB, free: 2.105 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004226/0.4656, allocations: 4.159 MB / 0.8573 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4656, allocations: 0 / 0.8573 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002184/0.4677, allocations: 2.577 MB / 0.8598 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.4694, allocations: 0.7631 MB / 0.8606 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.4806, allocations: 9.624 MB / 0.87 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002782/0.4834, allocations: 3.129 MB / 0.873 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/0.4836, allocations: 124.5 kB / 0.8731 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of SimCode: time 1.072e-06/0.4836, allocations: 8 kB / 0.8731 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of Templates: time 0.348/0.8317, allocations: 161.2 MB / 1.031 GB, free: 281.5 MB / 0.8386 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.796308102086186] Failed to read output from testmodel.py, exit status != 0: 0.8373556807637215 0.8457069859999999 0.513625983 Calling exit ...