Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.0008329/0.0008329, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008649/0.0008649, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8589/0.8589, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.7071/0.7071, allocations: 154.6 MB / 414.5 MB, free: 0.7812 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.6194 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.361e-05, allocations: 6 kB / 0.6194 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.01895/0.01898, allocations: 28.69 MB / 0.6474 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01283/0.03181, allocations: 13.06 MB / 0.6601 GB, free: 3.133 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.03337, allocations: 190.5 kB / 0.6603 GB, free: 2.945 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003284/0.03666, allocations: 3.22 MB / 0.6635 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004026/0.04068, allocations: 2.83 MB / 0.6662 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00259/0.04327, allocations: 2.045 MB / 0.6682 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005044/0.04832, allocations: 7.795 MB / 0.6758 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.2461/0.2944, allocations: 4.611 MB / 0.6803 GB, free: 51.99 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004688/0.2991, allocations: 4.782 MB / 0.685 GB, free: 51.99 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002194/0.3013, allocations: 3.116 MB / 0.6881 GB, free: 51.99 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000403/0.3017, allocations: 0.5997 MB / 0.6886 GB, free: 51.99 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.3032, allocations: 1.42 MB / 0.69 GB, free: 51.99 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001118/0.3043, allocations: 2.529 MB / 0.6925 GB, free: 51.99 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001154/0.3055, allocations: 2.002 MB / 0.6944 GB, free: 51.99 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004909/0.3104, allocations: 9.633 MB / 0.7039 GB, free: 51.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3104, allocations: 0 / 0.7039 GB, free: 51.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3104, allocations: 0.5 kB / 0.7039 GB, free: 51.48 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.68e-05/0.3105, allocations: 1.438 kB / 0.7039 GB, free: 51.48 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.00534/0.3158, allocations: 5.147 MB / 0.7089 GB, free: 49.44 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.3158, allocations: 9.125 kB / 0.7089 GB, free: 49.44 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003186/0.319, allocations: 1.032 MB / 0.7099 GB, free: 49.16 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00391/0.3229, allocations: 3.018 MB / 0.7128 GB, free: 48.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/0.3232, allocations: 315.5 kB / 0.7131 GB, free: 48.45 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005742/0.3237, allocations: 423.4 kB / 0.7136 GB, free: 48.45 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008845/0.3326, allocations: 7.525 MB / 0.7209 GB, free: 44.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-05/0.3327, allocations: 24.59 kB / 0.7209 GB, free: 44.89 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003078/0.333, allocations: 187.8 kB / 0.7211 GB, free: 44.76 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005148/0.3335, allocations: 374.6 kB / 0.7215 GB, free: 44.72 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005508/0.339, allocations: 5.102 MB / 0.7264 GB, free: 42.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01531/0.3543, allocations: 19.03 MB / 0.745 GB, free: 30.81 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.3555, allocations: 1.303 MB / 0.7463 GB, free: 30.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/0.3566, allocations: 1.24 MB / 0.7475 GB, free: 29.83 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.085e-05/0.3567, allocations: 17.45 kB / 0.7475 GB, free: 29.83 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.3567, allocations: 51.47 kB / 0.7476 GB, free: 29.79 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=130): time 3.347e-06/0.3567, allocations: 4 kB / 0.7476 GB, free: 29.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=199): time 0.04135/0.3981, allocations: 22.82 MB / 0.7699 GB, free: 22.55 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.3981, allocations: 73.53 kB / 0.7699 GB, free: 22.49 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/0.3996, allocations: 1.846 MB / 0.7717 GB, free: 21.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.859e-05/0.3997, allocations: 60.98 kB / 0.7718 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005531/0.4003, allocations: 2.064 MB / 0.7738 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002597/0.4005, allocations: 0.7059 MB / 0.7745 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003884/0.4009, allocations: 404.4 kB / 0.7749 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.483e-05/0.401, allocations: 311.3 kB / 0.7752 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.402, allocations: 1.426 MB / 0.7766 GB, free: 16.23 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.4033, allocations: 2.012 MB / 0.7785 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002476/0.4058, allocations: 3.695 MB / 0.7821 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.4058, allocations: 4 kB / 0.7822 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.00538/0.4112, allocations: 5.582 MB / 0.7876 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.4112, allocations: 12 kB / 0.7876 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.4112, allocations: 16 kB / 0.7876 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003067/0.4143, allocations: 2.081 MB / 0.7897 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006919/0.415, allocations: 376 kB / 0.79 GB, free: 2.137 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02253/0.4375, allocations: 35.86 MB / 0.825 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/0.4391, allocations: 127.9 kB / 0.8252 GB, free: 12.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/0.4392, allocations: 92 kB / 0.8252 GB, free: 12.42 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002381/0.4416, allocations: 1.508 MB / 0.8267 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002955/0.4419, allocations: 270.4 kB / 0.827 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005808/0.4477, allocations: 5.133 MB / 0.832 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.4477, allocations: 20 kB / 0.832 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.222e-05/0.4477, allocations: 23.94 kB / 0.832 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.4477, allocations: 7.969 kB / 0.832 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/0.4578, allocations: 8.444 MB / 0.8403 GB, free: 12.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.4578, allocations: 4 kB / 0.8403 GB, free: 12.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004421/0.4583, allocations: 218.5 kB / 0.8405 GB, free: 12.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002872/0.4612, allocations: 1.839 MB / 0.8423 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-05/0.4612, allocations: 42.16 kB / 0.8423 GB, free: 10.87 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02348/0.4847, allocations: 34.86 MB / 0.8764 GB, free: 6.352 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.4847, allocations: 15.41 kB / 0.8764 GB, free: 6.34 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005606/0.4903, allocations: 4.813 MB / 0.8811 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009143/0.4912, allocations: 0.5294 MB / 0.8816 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002016/0.4914, allocations: 40.12 kB / 0.8816 GB, free: 0.8672 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007453/0.4922, allocations: 135.8 kB / 0.8818 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004602/0.4926, allocations: 202.2 kB / 0.882 GB, free: 0.5508 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.701e-05/0.4927, allocations: 56 kB / 0.882 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001251/0.494, allocations: 1.207 MB / 0.8832 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.01e-07/0.494, allocations: 0 / 0.8832 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002439/0.4964, allocations: 1.043 MB / 0.8842 GB, free: 14.23 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002287/0.4967, allocations: 169.2 kB / 0.8844 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005443/0.5021, allocations: 5.996 MB / 0.8902 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.5021, allocations: 4 kB / 0.8902 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.003397/0.5055, allocations: 4.272 MB / 0.8944 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/0.5075, allocations: 0.9144 MB / 0.8953 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.5179, allocations: 8.771 MB / 0.9039 GB, free: 9.781 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002371/0.5203, allocations: 2.638 MB / 0.9064 GB, free: 7.109 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000349/0.5206, allocations: 148.5 kB / 0.9066 GB, free: 6.965 MB / 0.7605 GB Notification: Performance of SimCode: time 1.092e-06/0.5206, allocations: 3.75 kB / 0.9066 GB, free: 6.965 MB / 0.7605 GB Notification: Performance of Templates: time 0.659/1.18, allocations: 465.1 MB / 1.361 GB, free: 258 MB / 0.8386 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 17.639666319824755] Failed to read output from testmodel.py, exit status != 0: 1.185475162230432 1.190704491 0.87896519 Calling exit ...