Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.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.0006621/0.0006621, allocations: 100.4 kB / 19.71 MB, free: 444 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.000679/0.000679, allocations: 210.9 kB / 23 MB, free: 2.973 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.8662/0.8662, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.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-531:190: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-531:198: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.7328/0.7328, allocations: 203.8 MB / 0.5049 GB, free: 10.4 MB / 410.7 MB " [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.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008468/0.0008468, allocations: 61.78 kB / 0.7194 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4313/0.4321, allocations: 102 MB / 0.819 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003013/0.4351, allocations: 3.048 MB / 0.822 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001959/0.4371, allocations: 1.894 MB / 0.8238 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.906e-05/0.4372, allocations: 9.031 kB / 0.8238 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000628/0.4378, allocations: 294 kB / 0.8241 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.4381, allocations: 195.2 kB / 0.8243 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004348/0.4386, allocations: 243.7 kB / 0.8245 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.4389, allocations: 325.6 kB / 0.8248 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.4391, allocations: 155.8 kB / 0.825 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.4393, allocations: 139 kB / 0.8251 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002143/0.4395, allocations: 146.8 kB / 0.8253 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.4395, allocations: 20.81 kB / 0.8253 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004164/0.44, allocations: 388.2 kB / 0.8257 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.067e-05/0.44, allocations: 83.89 kB / 0.8257 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.069e-05/0.4401, allocations: 99.38 kB / 0.8258 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005043/0.4406, allocations: 0.4926 MB / 0.8263 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4406, allocations: 0 / 0.8263 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.904e-06/0.4406, allocations: 3.438 kB / 0.8263 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.4406, allocations: 0 / 0.8263 GB, free: 13.05 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0006723/0.4413, allocations: 0.4929 MB / 0.8268 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.4413, allocations: 11.09 kB / 0.8268 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004855/0.4418, allocations: 108.8 kB / 0.8269 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.4421, allocations: 201.6 kB / 0.8271 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.4421, allocations: 23.3 kB / 0.8271 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.4421, allocations: 26.88 kB / 0.8271 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004231/0.4425, allocations: 409.1 kB / 0.8275 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.4425, allocations: 0 / 0.8275 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.4426, allocations: 11.34 kB / 0.8275 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.3e-05/0.4426, allocations: 21.08 kB / 0.8276 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003246/0.4429, allocations: 294 kB / 0.8278 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.4442, allocations: 1.231 MB / 0.829 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.4445, allocations: 240.7 kB / 0.8293 GB, free: 11.06 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.4446, allocations: 99.06 kB / 0.8294 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.123e-05/0.4446, allocations: 14.39 kB / 0.8294 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.4447, allocations: 42.06 kB / 0.8294 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.123e-06/0.4447, allocations: 4 kB / 0.8294 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001669/0.4463, allocations: 0.877 MB / 0.8303 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.4464, allocations: 84.3 kB / 0.8304 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.4465, allocations: 211.9 kB / 0.8306 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.4466, allocations: 31.2 kB / 0.8306 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.183e-05/0.4466, allocations: 183.7 kB / 0.8308 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.069e-05/0.4467, allocations: 85.3 kB / 0.8309 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.908e-05/0.4468, allocations: 68.14 kB / 0.8309 GB, free: 10.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.552e-05/0.4469, allocations: 330.5 kB / 0.8312 GB, free: 9.754 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.447, allocations: 130.6 kB / 0.8314 GB, free: 9.707 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.4472, allocations: 205.8 kB / 0.8316 GB, free: 9.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003207/0.4475, allocations: 369.7 kB / 0.8319 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4475, allocations: 0 / 0.8319 GB, free: 9.348 MB / 0.6198 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005592/0.4481, allocations: 0.5052 MB / 0.8324 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.4481, allocations: 9.812 kB / 0.8324 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4481, allocations: 3.281 kB / 0.8324 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003138/0.4484, allocations: 152 kB / 0.8326 GB, free: 9.043 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.4486, allocations: 60.67 kB / 0.8326 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.4504, allocations: 3.935 MB / 0.8365 GB, free: 5.352 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.4505, allocations: 22.25 kB / 0.8365 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.4505, allocations: 14.55 kB / 0.8365 GB, free: 5.34 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (32): * Single equations (assignments): 28 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.4506, allocations: 162 kB / 0.8367 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.4507, allocations: 27.22 kB / 0.8367 GB, free: 5.184 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005471/0.4512, allocations: 474.5 kB / 0.8371 GB, free: 4.953 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4512, allocations: 3.359 kB / 0.8371 GB, free: 4.953 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4512, allocations: 5.219 kB / 0.8371 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.4512, allocations: 6.609 kB / 0.8371 GB, free: 4.945 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009449/0.4522, allocations: 0.8952 MB / 0.838 GB, free: 4.387 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.4522, allocations: 2.719 kB / 0.838 GB, free: 4.387 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.914e-05/0.4523, allocations: 38.73 kB / 0.8381 GB, free: 4.379 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002173/0.4525, allocations: 142.7 kB / 0.8382 GB, free: 4.316 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.4525, allocations: 9 kB / 0.8382 GB, free: 4.312 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001733/0.4542, allocations: 3.893 MB / 0.842 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.4542, allocations: 3.891 kB / 0.842 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004972/0.4547, allocations: 0.6251 MB / 0.8426 GB, free: 208 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.312e-05/0.4548, allocations: 49.05 kB / 0.8427 GB, free: 184 kB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.4548, allocations: 8.109 kB / 0.8427 GB, free: 180 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.4549, allocations: 23.89 kB / 0.8427 GB, free: 172 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.289e-05/0.455, allocations: 27.2 kB / 0.8427 GB, free: 164 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.455, allocations: 8.781 kB / 0.8427 GB, free: 164 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.53e-05/0.4551, allocations: 156.2 kB / 0.8429 GB, free: 60 kB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.4551, allocations: 0 / 0.8429 GB, free: 60 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003643/0.4555, allocations: 96.77 kB / 0.843 GB, free: 40 kB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001721/0.4556, allocations: 143.4 kB / 0.8431 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006241/0.4562, allocations: 0.5626 MB / 0.8437 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4563, allocations: 0 / 0.8437 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002871/0.4565, allocations: 399 kB / 0.844 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.4569, allocations: 45.12 kB / 0.8441 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007731/0.4576, allocations: 0.6682 MB / 0.8447 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.4578, allocations: 175.2 kB / 0.8449 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.4578, allocations: 23.2 kB / 0.8449 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of SimCode: time 4.81e-07/0.4578, allocations: 0 / 0.8449 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of Templates: time 0.006738/0.4646, allocations: 7.798 MB / 0.8525 GB, free: 10.91 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.020755430683494] Failed to read output from testmodel.py, exit status != 0: 0.46983904065564275 0.479199001 0.03666527 Calling exit ...