Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.0007809/0.0007809, allocations: 72.45 kB / 19.9 MB, free: 16 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.0007626/0.0007626, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8393/0.8393, allocations: 177.2 MB / 203.6 MB, free: 5.773 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.6763/0.6763, allocations: 154.7 MB / 414.7 MB, free: 0.7461 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.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [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.0009363/0.0009363, allocations: 67.91 kB / 0.6195 GB, free: 12.98 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4165, allocations: 101.9 MB / 0.7191 GB, free: 23.69 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01114/0.4276, allocations: 15.27 MB / 0.734 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004935/0.4326, allocations: 4.747 MB / 0.7387 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004135/0.433, allocations: 84.56 kB / 0.7387 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.4344, allocations: 1.051 MB / 0.7398 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0008767/0.4352, allocations: 0.7915 MB / 0.7405 GB, free: 9.984 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.4365, allocations: 0.9172 MB / 0.7414 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002268/0.4387, allocations: 3.621 MB / 0.745 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002089/0.4408, allocations: 2.441 MB / 0.7473 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001806/0.4426, allocations: 2.31 MB / 0.7496 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001569/0.4442, allocations: 1.78 MB / 0.7513 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003239/0.4445, allocations: 338.6 kB / 0.7517 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009428/0.4455, allocations: 0.7489 MB / 0.7524 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0009578/0.4464, allocations: 1.362 MB / 0.7537 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008767/0.4473, allocations: 1.174 MB / 0.7549 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003065/0.4503, allocations: 5.414 MB / 0.7602 GB, free: 16 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4504, allocations: 1.375 kB / 0.7602 GB, free: 16 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4504, allocations: 0 / 0.7602 GB, free: 16 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.125e-05/0.4504, allocations: 0 / 0.7602 GB, free: 16 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.00297/0.4534, allocations: 2.635 MB / 0.7627 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.4534, allocations: 12.38 kB / 0.7627 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002274/0.4557, allocations: 0.8535 MB / 0.7636 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/0.4574, allocations: 1.529 MB / 0.7651 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.4575, allocations: 177.4 kB / 0.7652 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002747/0.4578, allocations: 229.9 kB / 0.7655 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004274/0.462, allocations: 4.272 MB / 0.7696 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.955e-05/0.4621, allocations: 6.188 kB / 0.7696 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001967/0.4623, allocations: 102.3 kB / 0.7697 GB, free: 9.98 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001337/0.4624, allocations: 165.5 kB / 0.7699 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004072/0.4665, allocations: 3.623 MB / 0.7734 GB, free: 8.098 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009126/0.4756, allocations: 10.47 MB / 0.7837 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.4773, allocations: 1.465 MB / 0.7851 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004985/0.4778, allocations: 0.5431 MB / 0.7856 GB, free: 13.27 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-05/0.4779, allocations: 24.66 kB / 0.7856 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.4779, allocations: 55.08 kB / 0.7857 GB, free: 13.19 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=72): time 2.154e-06/0.4779, allocations: 0 / 0.7857 GB, free: 13.19 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76): time 0.003322/0.4812, allocations: 3.193 MB / 0.7888 GB, free: 9.98 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.4813, allocations: 119.5 kB / 0.7889 GB, free: 9.836 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007906/0.482, allocations: 1.036 MB / 0.7899 GB, free: 8.773 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.4821, allocations: 41.7 kB / 0.79 GB, free: 8.727 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000426/0.4825, allocations: 1.138 MB / 0.7911 GB, free: 7.574 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001348/0.4826, allocations: 293.6 kB / 0.7914 GB, free: 7.285 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/0.4829, allocations: 279.4 kB / 0.7916 GB, free: 7.004 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.483, allocations: 406.7 kB / 0.792 GB, free: 6.598 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005685/0.4836, allocations: 0.6207 MB / 0.7926 GB, free: 5.977 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007836/0.4844, allocations: 1.189 MB / 0.7938 GB, free: 4.523 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.4859, allocations: 1.864 MB / 0.7956 GB, free: 2.398 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.486, allocations: 8 kB / 0.7956 GB, free: 2.391 MB / 0.6667 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001792/0.4877, allocations: 2.019 MB / 0.7976 GB, free: 360 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.4878, allocations: 18.91 kB / 0.7976 GB, free: 344 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.4878, allocations: 23.98 kB / 0.7976 GB, free: 320 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002517/0.488, allocations: 159.3 kB / 0.7978 GB, free: 148 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000583/0.4886, allocations: 351.4 kB / 0.7981 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-05/0.4886, allocations: 40.23 kB / 0.7982 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/0.4891, allocations: 131.7 kB / 0.7983 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.406e-05/0.4892, allocations: 71.98 kB / 0.7984 GB, free: 15.56 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008373/0.49, allocations: 0.9774 MB / 0.7993 GB, free: 14.58 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.4901, allocations: 115.3 kB / 0.7994 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.4913, allocations: 1.225 MB / 0.8006 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.4913, allocations: 12 kB / 0.8006 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.4913, allocations: 11.88 kB / 0.8006 GB, free: 13.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.4913, allocations: 3.984 kB / 0.8006 GB, free: 13.19 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002889/0.4942, allocations: 2.869 MB / 0.8034 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.4942, allocations: 12.02 kB / 0.8035 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002987/0.4945, allocations: 151.8 kB / 0.8036 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001869/0.4947, allocations: 143.3 kB / 0.8037 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.4947, allocations: 15.98 kB / 0.8038 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.4947, allocations: 4 kB / 0.8038 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.4947, allocations: 7.938 kB / 0.8038 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/0.4958, allocations: 1.474 MB / 0.8052 GB, free: 8.375 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.496, allocations: 207.1 kB / 0.8054 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.032e-05/0.4961, allocations: 16 kB / 0.8054 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002923/0.4964, allocations: 67.84 kB / 0.8055 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.55e-05/0.4965, allocations: 60.48 kB / 0.8055 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.4965, allocations: 27.98 kB / 0.8056 GB, free: 8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005183/0.497, allocations: 0.6832 MB / 0.8062 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/0.497, allocations: 0 / 0.8062 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007234/0.4978, allocations: 388 kB / 0.8066 GB, free: 6.926 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001453/0.4979, allocations: 127.6 kB / 0.8067 GB, free: 6.793 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001233/0.4991, allocations: 1.367 MB / 0.8081 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.4991, allocations: 0 / 0.8081 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004671/0.4996, allocations: 0.5339 MB / 0.8086 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007901/0.5004, allocations: 264.5 kB / 0.8088 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003962/0.5044, allocations: 4.181 MB / 0.8129 GB, free: 380 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/0.5054, allocations: 1.391 MB / 0.8143 GB, free: 14.94 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.5056, allocations: 96.42 kB / 0.8144 GB, free: 14.85 MB / 0.698 GB Notification: Performance of SimCode: time 6.32e-07/0.5056, allocations: 0 / 0.8144 GB, free: 14.85 MB / 0.698 GB Notification: Performance of Templates: time 0.04342/0.549, allocations: 74.28 MB / 0.8869 GB, free: 4.586 MB / 0.7605 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.532020983053371] Failed to read output from testmodel.py, exit status != 0: 0.5550282287877053 0.562494523 0.110520986 Calling exit ...