Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.0007471/0.0007471, allocations: 80.48 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.000754/0.000754, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8286/0.8286, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.6813/0.6813, allocations: 154.6 MB / 414.5 MB, free: 0.8203 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.6193 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.799e-05/1.919e-05, allocations: 2.281 kB / 0.6193 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.2681/0.2681, allocations: 30.81 MB / 0.6494 GB, free: 23.23 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01086/0.279, allocations: 10.13 MB / 0.6593 GB, free: 21.76 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.2804, allocations: 196.8 kB / 0.6595 GB, free: 21.66 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.004096/0.2845, allocations: 3.757 MB / 0.6632 GB, free: 20.13 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003047/0.2875, allocations: 1.999 MB / 0.6651 GB, free: 19.05 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003379/0.2909, allocations: 2.154 MB / 0.6672 GB, free: 17.84 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.006529/0.2974, allocations: 7.46 MB / 0.6745 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004988/0.3024, allocations: 5.133 MB / 0.6795 GB, free: 11.81 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004737/0.3072, allocations: 4.589 MB / 0.684 GB, free: 9.578 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003209/0.3104, allocations: 3.233 MB / 0.6872 GB, free: 7.805 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0009591/0.3113, allocations: 0.6452 MB / 0.6878 GB, free: 7.805 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002632/0.314, allocations: 1.684 MB / 0.6894 GB, free: 7.211 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.001503/0.3155, allocations: 2.718 MB / 0.6921 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.001427/0.3169, allocations: 2.014 MB / 0.6941 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.005492/0.3224, allocations: 10.32 MB / 0.7041 GB, free: 12.89 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3224, allocations: 0 / 0.7041 GB, free: 12.89 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3224, allocations: 0 / 0.7041 GB, free: 12.89 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.659e-05/0.3225, allocations: 0 / 0.7041 GB, free: 12.89 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.004955/0.3274, allocations: 5.005 MB / 0.709 GB, free: 8.039 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3274, allocations: 15.97 kB / 0.709 GB, free: 8.023 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002546/0.33, allocations: 0.9852 MB / 0.71 GB, free: 7.035 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003219/0.3332, allocations: 2.995 MB / 0.7129 GB, free: 3.969 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/0.3334, allocations: 353.7 kB / 0.7133 GB, free: 3.621 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004609/0.3338, allocations: 460.3 kB / 0.7137 GB, free: 3.172 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007453/0.3413, allocations: 7.968 MB / 0.7215 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.177e-05/0.3414, allocations: 32 kB / 0.7215 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003211/0.3417, allocations: 200.3 kB / 0.7217 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002112/0.3419, allocations: 316.9 kB / 0.722 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006097/0.348, allocations: 5.702 MB / 0.7276 GB, free: 4.527 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02476/0.3728, allocations: 21.88 MB / 0.749 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001866/0.3746, allocations: 1.546 MB / 0.7505 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.3757, allocations: 1.133 MB / 0.7516 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.933e-05/0.3758, allocations: 13.31 kB / 0.7516 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3758, allocations: 47.81 kB / 0.7516 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=133): time 4.428e-06/0.3758, allocations: 0 / 0.7516 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=136): time 0.00879/0.3846, allocations: 6.195 MB / 0.7577 GB, free: 5.031 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.3847, allocations: 68.7 kB / 0.7577 GB, free: 4.953 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.3861, allocations: 1.403 MB / 0.7591 GB, free: 3.547 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.06e-05/0.3862, allocations: 49.7 kB / 0.7592 GB, free: 3.492 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009143/0.3871, allocations: 2.057 MB / 0.7612 GB, free: 1.418 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003182/0.3874, allocations: 0.4957 MB / 0.7617 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003514/0.3877, allocations: 347.3 kB / 0.762 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.564e-05/0.3878, allocations: 305.1 kB / 0.7623 GB, free: 280 kB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009037/0.3887, allocations: 0.9213 MB / 0.7632 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/0.3899, allocations: 1.595 MB / 0.7647 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002285/0.3922, allocations: 2.73 MB / 0.7674 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-05/0.3922, allocations: 8 kB / 0.7674 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004101/0.3963, allocations: 3.5 MB / 0.7708 GB, free: 6.859 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.3963, allocations: 12 kB / 0.7708 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/0.3964, allocations: 24 kB / 0.7709 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001441/0.3978, allocations: 0.8926 MB / 0.7717 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007751/0.3986, allocations: 351.4 kB / 0.7721 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/0.4119, allocations: 21.46 MB / 0.793 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.4132, allocations: 103.9 kB / 0.7931 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.4133, allocations: 88 kB / 0.7932 GB, free: 14.69 MB / 0.6667 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 (185): * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.002279/0.4156, allocations: 1.603 MB / 0.7948 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002848/0.4159, allocations: 202.8 kB / 0.795 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003117/0.419, allocations: 2.963 MB / 0.7979 GB, free: 9.855 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.419, allocations: 12.28 kB / 0.7979 GB, free: 9.844 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/0.419, allocations: 16 kB / 0.7979 GB, free: 9.828 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.419, allocations: 7.969 kB / 0.7979 GB, free: 9.82 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007545/0.4266, allocations: 6.01 MB / 0.8038 GB, free: 3.691 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.4266, allocations: 4 kB / 0.8038 GB, free: 3.688 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004094/0.427, allocations: 175.7 kB / 0.8039 GB, free: 3.516 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001272/0.4283, allocations: 0.8301 MB / 0.8047 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.546e-05/0.4283, allocations: 24 kB / 0.8048 GB, free: 2.625 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/0.4401, allocations: 20.3 MB / 0.8246 GB, free: 13.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/0.4401, allocations: 12.14 kB / 0.8246 GB, free: 13.08 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00338/0.4435, allocations: 2.994 MB / 0.8275 GB, free: 9.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007383/0.4442, allocations: 384.6 kB / 0.8279 GB, free: 9.605 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.4444, allocations: 28 kB / 0.8279 GB, free: 9.578 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004452/0.4448, allocations: 71.91 kB / 0.828 GB, free: 9.508 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002861/0.4451, allocations: 132.6 kB / 0.8281 GB, free: 9.375 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.808e-05/0.4451, allocations: 36 kB / 0.8281 GB, free: 9.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009536/0.4461, allocations: 0.8942 MB / 0.829 GB, free: 8.453 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.6e-07/0.4461, allocations: 0 / 0.829 GB, free: 8.453 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00226/0.4484, allocations: 0.7891 MB / 0.8298 GB, free: 7.664 MB / 0.698 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002009/0.4486, allocations: 127.1 kB / 0.8299 GB, free: 7.531 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003649/0.4522, allocations: 3.92 MB / 0.8337 GB, free: 3.457 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.4522, allocations: 3.938 kB / 0.8337 GB, free: 3.453 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002105/0.4543, allocations: 2.666 MB / 0.8363 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/0.4561, allocations: 0.7099 MB / 0.837 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009835/0.466, allocations: 7.965 MB / 0.8448 GB, free: 7.918 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00252/0.4685, allocations: 2.635 MB / 0.8474 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004482/0.4689, allocations: 116.5 kB / 0.8475 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of SimCode: time 1.523e-06/0.4689, allocations: 0 / 0.8475 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of Templates: time 0.4048/0.8738, allocations: 322.9 MB / 1.163 GB, free: 79.25 MB / 0.8073 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.241942344233394] Failed to read output from testmodel.py, exit status != 0: 0.8793430114164948 0.885715249 0.561921236 Calling exit ...