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.0007348/0.0007348, allocations: 76.45 kB / 19.91 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.0007529/0.0007529, allocations: 166.3 kB / 23.18 MB, free: 1.387 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.8435/0.8435, 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.704/0.704, allocations: 154.7 MB / 414.7 MB, free: 0.7227 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: 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.000922/0.000922, allocations: 71.2 kB / 0.6196 GB, free: 13.11 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.391/0.3919, allocations: 102 MB / 0.7191 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02248/0.4144, allocations: 33.27 MB / 0.7516 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01398/0.4284, allocations: 11.44 MB / 0.7628 GB, free: 11.77 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003038/0.4314, allocations: 214.4 kB / 0.763 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.006192/0.4376, allocations: 4.272 MB / 0.7672 GB, free: 8.828 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005467/0.4431, allocations: 2.103 MB / 0.7692 GB, free: 7.094 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005478/0.4486, allocations: 2.417 MB / 0.7716 GB, free: 5.125 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00894/0.4575, allocations: 8.472 MB / 0.7799 GB, free: 300 kB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009258/0.4668, allocations: 6.163 MB / 0.7859 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009133/0.4759, allocations: 5.48 MB / 0.7912 GB, free: 8.047 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006341/0.4822, allocations: 4.143 MB / 0.7953 GB, free: 3.891 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001891/0.4841, allocations: 0.7812 MB / 0.796 GB, free: 3.109 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003921/0.488, allocations: 1.911 MB / 0.7979 GB, free: 1.195 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.003365/0.4914, allocations: 3.13 MB / 0.801 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.004627/0.496, allocations: 2.755 MB / 0.8037 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0125/0.5085, allocations: 12.63 MB / 0.816 GB, free: 14.62 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.5085, allocations: 4 kB / 0.816 GB, free: 14.62 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5085, allocations: 0 / 0.816 GB, free: 14.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003696/0.5089, allocations: 0 / 0.816 GB, free: 14.62 MB / 0.698 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.01/0.5189, allocations: 5.863 MB / 0.8217 GB, free: 8.695 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.519, allocations: 8.031 kB / 0.8217 GB, free: 8.688 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004031/0.523, allocations: 1.102 MB / 0.8228 GB, free: 7.582 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004733/0.5277, allocations: 3.415 MB / 0.8261 GB, free: 4.102 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002336/0.528, allocations: 415.5 kB / 0.8265 GB, free: 3.695 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001093/0.5291, allocations: 0.5432 MB / 0.8271 GB, free: 3.152 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01357/0.5426, allocations: 9.384 MB / 0.8362 GB, free: 9.375 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000141/0.5428, allocations: 31.81 kB / 0.8363 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005862/0.5433, allocations: 232 kB / 0.8365 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002474/0.5436, allocations: 350.8 kB / 0.8368 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/0.5538, allocations: 6.818 MB / 0.8435 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02736/0.5811, allocations: 24.25 MB / 0.8672 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/0.5835, allocations: 2.305 MB / 0.8694 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001688/0.5852, allocations: 1.775 MB / 0.8711 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.897e-05/0.5853, allocations: 26 kB / 0.8712 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.5853, allocations: 56.56 kB / 0.8712 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=179): time 3.887e-06/0.5853, allocations: 0 / 0.8712 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=182): time 0.0152/0.6005, allocations: 9.666 MB / 0.8807 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.6006, allocations: 69.41 kB / 0.8807 GB, free: 11.17 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/0.602, allocations: 1.445 MB / 0.8821 GB, free: 9.723 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001219/0.6021, allocations: 53.7 kB / 0.8822 GB, free: 9.664 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001038/0.6032, allocations: 2.319 MB / 0.8844 GB, free: 7.324 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004679/0.6037, allocations: 0.6623 MB / 0.8851 GB, free: 6.656 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004032/0.6041, allocations: 408.1 kB / 0.8855 GB, free: 6.25 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003374/0.6044, allocations: 313.1 kB / 0.8858 GB, free: 5.941 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001146/0.6055, allocations: 1.176 MB / 0.8869 GB, free: 4.762 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/0.6069, allocations: 1.881 MB / 0.8888 GB, free: 2.566 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00278/0.6097, allocations: 3.375 MB / 0.8921 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.131e-05/0.6097, allocations: 8 kB / 0.8921 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005217/0.6149, allocations: 4.528 MB / 0.8965 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.615, allocations: 16 kB / 0.8965 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/0.615, allocations: 20 kB / 0.8965 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002253/0.6172, allocations: 1.578 MB / 0.8981 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007501/0.618, allocations: 355.3 kB / 0.8984 GB, free: 8.359 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01582/0.6338, allocations: 17.82 MB / 0.9158 GB, free: 6.133 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.6353, allocations: 115.9 kB / 0.9159 GB, free: 6.02 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/0.6354, allocations: 96 kB / 0.916 GB, free: 5.926 MB / 0.7917 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.002856/0.6383, allocations: 1.903 MB / 0.9179 GB, free: 4.012 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003783/0.6387, allocations: 222.6 kB / 0.9181 GB, free: 3.793 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004526/0.6432, allocations: 4.044 MB / 0.922 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.6432, allocations: 16 kB / 0.9221 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/0.6432, allocations: 16 kB / 0.9221 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.6432, allocations: 15.95 kB / 0.9221 GB, free: 15.67 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009739/0.653, allocations: 7.837 MB / 0.9297 GB, free: 7.703 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.653, allocations: 7.938 kB / 0.9297 GB, free: 7.695 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00043/0.6534, allocations: 183.7 kB / 0.9299 GB, free: 7.516 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001884/0.6553, allocations: 1.349 MB / 0.9312 GB, free: 6.156 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.18e-05/0.6554, allocations: 36 kB / 0.9313 GB, free: 6.121 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01368/0.6691, allocations: 16.61 MB / 0.9475 GB, free: 5.109 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/0.6691, allocations: 11.94 kB / 0.9475 GB, free: 5.098 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004946/0.674, allocations: 4.02 MB / 0.9514 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009522/0.675, allocations: 462.4 kB / 0.9519 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.6751, allocations: 39.95 kB / 0.9519 GB, free: 0.4961 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005368/0.6757, allocations: 87.89 kB / 0.952 GB, free: 420 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004875/0.6761, allocations: 173.5 kB / 0.9522 GB, free: 244 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-05/0.6762, allocations: 48 kB / 0.9522 GB, free: 196 kB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001037/0.6773, allocations: 0.9193 MB / 0.9531 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.1e-08/0.6773, allocations: 4 kB / 0.9531 GB, free: 15.28 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002314/0.6796, allocations: 0.9921 MB / 0.9541 GB, free: 14.29 MB / 0.8386 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.0002145/0.6798, allocations: 139.1 kB / 0.9542 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004628/0.6844, allocations: 4.164 MB / 0.9583 GB, free: 9.93 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.6844, allocations: 1 kB / 0.9583 GB, free: 9.93 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002555/0.687, allocations: 2.584 MB / 0.9608 GB, free: 7.289 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/0.689, allocations: 0.7619 MB / 0.9615 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/0.7025, allocations: 9.647 MB / 0.971 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003128/0.7056, allocations: 3.129 MB / 0.974 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004306/0.706, allocations: 120.5 kB / 0.9741 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of SimCode: time 1.502e-06/0.706, allocations: 0 / 0.9741 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of Templates: time 0.426/1.132, allocations: 161.3 MB / 1.132 GB, free: 166.1 MB / 0.8855 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: 14.024732348974794] Failed to read output from testmodel.py, exit status != 0: 1.1383415018208325 1.144094526 0.634014109 Calling exit ...