Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.0007925/0.0007925, allocations: 72.45 kB / 19.91 MB, free: 4.516 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.0007591/0.0007591, allocations: 165.9 kB / 23.19 MB, free: 1.238 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.8623/0.8623, allocations: 177.2 MB / 203.6 MB, free: 5.766 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.7106/0.7106, allocations: 154.7 MB / 414.7 MB, free: 0.7578 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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") [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.0009781/0.0009781, allocations: 67.91 kB / 0.6196 GB, free: 13.1 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.4853/0.4863, allocations: 102 MB / 0.7191 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01513/0.5015, allocations: 19.25 MB / 0.7379 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.00931/0.5108, allocations: 6.417 MB / 0.7442 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002345/0.5131, allocations: 111.2 kB / 0.7443 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.004069/0.5172, allocations: 2.26 MB / 0.7465 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003915/0.5211, allocations: 1.256 MB / 0.7477 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003417/0.5245, allocations: 1.287 MB / 0.749 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006001/0.5305, allocations: 4.854 MB / 0.7537 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004268/0.5348, allocations: 3.139 MB / 0.7568 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005491/0.5403, allocations: 3.068 MB / 0.7598 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004116/0.5444, allocations: 2.326 MB / 0.7621 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001297/0.5457, allocations: 434.9 kB / 0.7625 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002937/0.5486, allocations: 0.948 MB / 0.7634 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.002553/0.5512, allocations: 1.711 MB / 0.7651 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.003598/0.5548, allocations: 1.55 MB / 0.7666 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00828/0.5631, allocations: 6.863 MB / 0.7733 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.5631, allocations: 7.984 kB / 0.7733 GB, free: 6.637 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.505e-06/0.5631, allocations: 0 / 0.7733 GB, free: 6.637 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002425/0.5633, allocations: 5.062 kB / 0.7733 GB, free: 6.633 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009671/0.573, allocations: 3.456 MB / 0.7767 GB, free: 4.293 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.573, allocations: 8.5 kB / 0.7767 GB, free: 4.293 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003029/0.5761, allocations: 0.6597 MB / 0.7773 GB, free: 3.973 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003974/0.58, allocations: 1.995 MB / 0.7793 GB, free: 2.695 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001728/0.5802, allocations: 221 kB / 0.7795 GB, free: 2.594 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009308/0.5811, allocations: 293 kB / 0.7798 GB, free: 2.496 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009649/0.5908, allocations: 5.251 MB / 0.7849 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.209e-05/0.5909, allocations: 11.94 kB / 0.7849 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005362/0.5914, allocations: 128 kB / 0.785 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003114/0.5917, allocations: 229.7 kB / 0.7853 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006716/0.5984, allocations: 3.75 MB / 0.7889 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01685/0.6153, allocations: 13.1 MB / 0.8017 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.6165, allocations: 1.23 MB / 0.8029 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009389/0.6175, allocations: 0.9913 MB / 0.8039 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.235e-05/0.6175, allocations: 13 kB / 0.8039 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.6175, allocations: 47.56 kB / 0.8039 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=107): time 3.386e-06/0.6176, allocations: 4 kB / 0.8039 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of matching and sorting (n=138): time 0.01413/0.6317, allocations: 8.424 MB / 0.8122 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.6317, allocations: 68.72 kB / 0.8122 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.6328, allocations: 1.055 MB / 0.8133 GB, free: 0.7891 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.071e-05/0.6329, allocations: 49.7 kB / 0.8133 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006033/0.6335, allocations: 1.35 MB / 0.8146 GB, free: 15.37 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003167/0.6338, allocations: 0.4918 MB / 0.8151 GB, free: 14.87 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003109/0.6341, allocations: 295.4 kB / 0.8154 GB, free: 14.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.069e-05/0.6342, allocations: 308.9 kB / 0.8157 GB, free: 14.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008957/0.6351, allocations: 0.9135 MB / 0.8166 GB, free: 13.36 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.6361, allocations: 1.322 MB / 0.8179 GB, free: 11.87 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00206/0.6382, allocations: 2.43 MB / 0.8202 GB, free: 9.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.6382, allocations: 4 kB / 0.8202 GB, free: 9.266 MB / 0.698 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003984/0.6422, allocations: 3.426 MB / 0.8236 GB, free: 5.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.6422, allocations: 8 kB / 0.8236 GB, free: 5.812 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/0.6422, allocations: 15.98 kB / 0.8236 GB, free: 5.797 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001862/0.6441, allocations: 1.175 MB / 0.8248 GB, free: 4.617 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006047/0.6447, allocations: 263.5 kB / 0.825 GB, free: 4.359 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/0.6563, allocations: 13.26 MB / 0.838 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.6576, allocations: 91.91 kB / 0.838 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.6577, allocations: 68 kB / 0.8381 GB, free: 6.641 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001766/0.6595, allocations: 1.115 MB / 0.8392 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002531/0.6597, allocations: 163 kB / 0.8394 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003476/0.6632, allocations: 3.121 MB / 0.8424 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.6632, allocations: 16 kB / 0.8424 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.253e-05/0.6632, allocations: 12 kB / 0.8424 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.6633, allocations: 11.95 kB / 0.8424 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00667/0.6699, allocations: 5.464 MB / 0.8478 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.6699, allocations: 7.938 kB / 0.8478 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003343/0.6703, allocations: 151.7 kB / 0.8479 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001614/0.6719, allocations: 1.072 MB / 0.849 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.953e-05/0.672, allocations: 28 kB / 0.849 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01044/0.6824, allocations: 12.95 MB / 0.8617 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.6824, allocations: 7.938 kB / 0.8617 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003461/0.6859, allocations: 3.115 MB / 0.8647 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006941/0.6866, allocations: 354.8 kB / 0.865 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.6867, allocations: 24 kB / 0.8651 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004613/0.6872, allocations: 83.89 kB / 0.8651 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002887/0.6874, allocations: 132.6 kB / 0.8653 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.843e-05/0.6875, allocations: 44 kB / 0.8653 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000713/0.6882, allocations: 0.6982 MB / 0.866 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.21e-07/0.6882, allocations: 0 / 0.866 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001792/0.69, allocations: 0.6602 MB / 0.8666 GB, free: 8.898 MB / 0.7448 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002152/0.6902, allocations: 135.1 kB / 0.8668 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.003389/0.6936, allocations: 3.009 MB / 0.8697 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.6936, allocations: 0 / 0.8697 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001992/0.6956, allocations: 1.889 MB / 0.8715 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.6972, allocations: 481.5 kB / 0.872 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00796/0.7051, allocations: 5.949 MB / 0.8778 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001902/0.707, allocations: 1.823 MB / 0.8796 GB, free: 11.45 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003299/0.7074, allocations: 88.5 kB / 0.8797 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of SimCode: time 1.743e-06/0.7074, allocations: 0 / 0.8797 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of Templates: time 0.06689/0.7743, allocations: 80.32 MB / 0.9581 GB, free: 11.14 MB / 0.8386 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.695220160065219] Failed to read output from testmodel.py, exit status != 0: 0.7821857300586998 0.794776898 0.229154253 Calling exit ...