Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.0007509/0.0007509, allocations: 117.6 kB / 19.7 MB, free: 0.5273 MB / 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.0008143/0.0008143, allocations: 215.7 kB / 23.01 MB, free: 3.109 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.8927/0.8927, allocations: 230.6 MB / 256.8 MB, free: 3.469 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.7544/0.7544, allocations: 203.8 MB / 0.5049 GB, free: 0.7695 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.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [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.0008979/0.0008979, allocations: 59.91 kB / 0.7195 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4224/0.4233, allocations: 102 MB / 0.8191 GB, free: 25.3 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004148/0.4275, allocations: 5.001 MB / 0.824 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002235/0.4297, allocations: 2.572 MB / 0.8265 GB, free: 20.16 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/0.4299, allocations: 35.75 kB / 0.8265 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006691/0.4305, allocations: 421 kB / 0.8269 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0005088/0.431, allocations: 465.8 kB / 0.8274 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.4315, allocations: 377 kB / 0.8277 GB, free: 19.44 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0006278/0.4321, allocations: 0.9224 MB / 0.8286 GB, free: 19 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003799/0.4325, allocations: 316.7 kB / 0.8289 GB, free: 18.86 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000318/0.4328, allocations: 354.8 kB / 0.8293 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003166/0.4331, allocations: 367.4 kB / 0.8296 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.837e-05/0.4332, allocations: 41.62 kB / 0.8297 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003792/0.4335, allocations: 412.6 kB / 0.83 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001438/0.4337, allocations: 184.7 kB / 0.8302 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.4339, allocations: 318.7 kB / 0.8305 GB, free: 18.14 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0007223/0.4346, allocations: 0.884 MB / 0.8314 GB, free: 17.83 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.4346, allocations: 4 kB / 0.8314 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.193e-06/0.4346, allocations: 0 / 0.8314 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.4346, allocations: 1.375 kB / 0.8314 GB, free: 17.82 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0008179/0.4354, allocations: 0.882 MB / 0.8323 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.4354, allocations: 11.09 kB / 0.8323 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006661/0.4361, allocations: 213.9 kB / 0.8325 GB, free: 17.15 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004967/0.4366, allocations: 475.3 kB / 0.8329 GB, free: 16.86 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.4366, allocations: 39.02 kB / 0.833 GB, free: 16.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.269e-05/0.4367, allocations: 50.55 kB / 0.833 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006574/0.4373, allocations: 0.8517 MB / 0.8338 GB, free: 16.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.4374, allocations: 7.969 kB / 0.8339 GB, free: 16.22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.4374, allocations: 20.48 kB / 0.8339 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.471e-05/0.4374, allocations: 62.17 kB / 0.8339 GB, free: 16.2 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005603/0.438, allocations: 0.5713 MB / 0.8345 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.4401, allocations: 5.582 MB / 0.8399 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/0.4406, allocations: 422.9 kB / 0.8403 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.4408, allocations: 210.1 kB / 0.8405 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.4408, allocations: 3.281 kB / 0.8405 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.4408, allocations: 40.17 kB / 0.8406 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=32): time 1.502e-06/0.4408, allocations: 1.469 kB / 0.8406 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33): time 0.001442/0.4422, allocations: 1.132 MB / 0.8417 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.914e-05/0.4423, allocations: 59.56 kB / 0.8417 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003606/0.4426, allocations: 0.4924 MB / 0.8422 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.4426, allocations: 30.83 kB / 0.8423 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.4428, allocations: 366 kB / 0.8426 GB, free: 9.543 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.504e-05/0.4428, allocations: 122.4 kB / 0.8427 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.809e-05/0.4429, allocations: 111.9 kB / 0.8428 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.808e-05/0.443, allocations: 365.5 kB / 0.8432 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.4432, allocations: 196.2 kB / 0.8434 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.4434, allocations: 442.6 kB / 0.8438 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005151/0.444, allocations: 0.6976 MB / 0.8445 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.444, allocations: 2.969 kB / 0.8445 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.000828/0.4448, allocations: 0.8073 MB / 0.8453 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.4448, allocations: 8.562 kB / 0.8453 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.4448, allocations: 8.25 kB / 0.8453 GB, free: 7.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002967/0.4451, allocations: 158 kB / 0.8454 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.4454, allocations: 125.5 kB / 0.8455 GB, free: 7.621 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001461/0.4468, allocations: 4.037 MB / 0.8495 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.447, allocations: 34.23 kB / 0.8495 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.447, allocations: 27.34 kB / 0.8495 GB, free: 3.719 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.4472, allocations: 221.8 kB / 0.8498 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.73e-05/0.4472, allocations: 61.59 kB / 0.8498 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000587/0.4478, allocations: 0.5943 MB / 0.8504 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.4478, allocations: 7.594 kB / 0.8504 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4478, allocations: 1.812 kB / 0.8504 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.4478, allocations: 2.859 kB / 0.8504 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.4489, allocations: 1.224 MB / 0.8516 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.449, allocations: 6.5 kB / 0.8516 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.4491, allocations: 62.39 kB / 0.8517 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002245/0.4493, allocations: 150.2 kB / 0.8518 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.4493, allocations: 15.97 kB / 0.8518 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001526/0.4509, allocations: 4.021 MB / 0.8558 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.4509, allocations: 6.953 kB / 0.8558 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006646/0.4515, allocations: 0.7092 MB / 0.8565 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.4516, allocations: 92.31 kB / 0.8565 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.199e-05/0.4517, allocations: 16.28 kB / 0.8566 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.4518, allocations: 21.8 kB / 0.8566 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.185e-05/0.4519, allocations: 37.89 kB / 0.8566 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.4519, allocations: 11.34 kB / 0.8566 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002544/0.4521, allocations: 333.8 kB / 0.8569 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5e-08/0.4521, allocations: 0 / 0.8569 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004065/0.4525, allocations: 139.2 kB / 0.8571 GB, free: 13.91 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001053/0.4526, allocations: 118.7 kB / 0.8572 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008661/0.4535, allocations: 0.8514 MB / 0.858 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4535, allocations: 0 / 0.858 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004261/0.4539, allocations: 0.5729 MB / 0.8586 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000591/0.4545, allocations: 202.5 kB / 0.8588 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.4557, allocations: 1.098 MB / 0.8598 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.4561, allocations: 0.9061 MB / 0.8607 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.995e-05/0.4562, allocations: 43.58 kB / 0.8608 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of SimCode: time 5.31e-07/0.4562, allocations: 0 / 0.8608 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of Templates: time 0.01372/0.4699, allocations: 18.07 MB / 0.8784 GB, free: 2.875 MB / 0.6511 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.042877369793132] Failed to read output from testmodel.py, exit status != 0: 0.4751045289449394 0.482989887 0.046834628 Calling exit ...