Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0008728/0.0008728, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 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.0009675/0.0009675, allocations: 209.2 kB / 22.24 MB, free: 3.57 MB / 13.93 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.9777/0.9777, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8216/0.8216, allocations: 203.8 MB / 0.5042 GB, free: 10.44 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [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.001356/0.001356, allocations: 66.47 kB / 0.7182 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5195/0.5209, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.02623/0.5471, allocations: 29.26 MB / 0.8464 GB, free: 14.58 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01831/0.5654, allocations: 13.2 MB / 0.8593 GB, free: 4.371 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003591/0.569, allocations: 186.9 kB / 0.8595 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.005181/0.5742, allocations: 3.207 MB / 0.8626 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007202/0.5814, allocations: 2.755 MB / 0.8653 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005017/0.5864, allocations: 2.01 MB / 0.8672 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01069/0.5971, allocations: 7.638 MB / 0.8747 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006853/0.6039, allocations: 4.595 MB / 0.8792 GB, free: 6.621 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00623/0.6102, allocations: 3.533 MB / 0.8826 GB, free: 3.078 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005054/0.6152, allocations: 3.359 MB / 0.8859 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001331/0.6165, allocations: 0.5977 MB / 0.8865 GB, free: 15.11 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002894/0.6194, allocations: 1.4 MB / 0.8879 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002141/0.6216, allocations: 2.424 MB / 0.8902 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.003639/0.6252, allocations: 2.338 MB / 0.8925 GB, free: 8.93 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.009921/0.6351, allocations: 9.539 MB / 0.9018 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.876e-06/0.6352, allocations: 0 / 0.9018 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.795e-06/0.6352, allocations: 0 / 0.9018 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002544/0.6354, allocations: 0 / 0.9018 GB, free: 15.36 MB / 0.6823 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.009127/0.6445, allocations: 5.191 MB / 0.9069 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.6446, allocations: 8.031 kB / 0.9069 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001252/0.6458, allocations: 0.6203 MB / 0.9075 GB, free: 9.457 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004231/0.6501, allocations: 1.02 MB / 0.9085 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004926/0.655, allocations: 3.021 MB / 0.9115 GB, free: 5.32 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001615/0.6552, allocations: 312.8 kB / 0.9118 GB, free: 5.012 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006895/0.6559, allocations: 431.8 kB / 0.9122 GB, free: 4.59 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009557/0.6654, allocations: 7.527 MB / 0.9195 GB, free: 12.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001009/0.6655, allocations: 19.89 kB / 0.9195 GB, free: 12.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004593/0.666, allocations: 187.9 kB / 0.9197 GB, free: 12.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005686/0.6665, allocations: 368 kB / 0.9201 GB, free: 12.03 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009264/0.6758, allocations: 5.11 MB / 0.9251 GB, free: 6.898 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02212/0.6979, allocations: 19.79 MB / 0.9444 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.6992, allocations: 1.317 MB / 0.9457 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.7003, allocations: 1.242 MB / 0.9469 GB, free: 20 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.449e-05/0.7004, allocations: 13.31 kB / 0.9469 GB, free: 4 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.501e-05/0.7004, allocations: 51.88 kB / 0.947 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=130): time 2.585e-06/0.7004, allocations: 0 / 0.947 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of matching and sorting (n=199): time 0.04534/0.7457, allocations: 22.84 MB / 0.9693 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.7458, allocations: 69.41 kB / 0.9693 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0022/0.748, allocations: 2.101 MB / 0.9714 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.7481, allocations: 61.7 kB / 0.9714 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009699/0.7491, allocations: 2.059 MB / 0.9734 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004396/0.7495, allocations: 0.7205 MB / 0.9741 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004788/0.75, allocations: 408.4 kB / 0.9745 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.738e-05/0.7501, allocations: 305.1 kB / 0.9748 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/0.7515, allocations: 1.433 MB / 0.9762 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/0.7533, allocations: 2.01 MB / 0.9782 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003439/0.7567, allocations: 3.696 MB / 0.9818 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.889e-06/0.7567, allocations: 4 kB / 0.9818 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.006731/0.7634, allocations: 5.599 MB / 0.9873 GB, free: 5.961 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/0.7635, allocations: 12.97 kB / 0.9873 GB, free: 5.949 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.7635, allocations: 20 kB / 0.9873 GB, free: 5.93 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003476/0.767, allocations: 2.079 MB / 0.9893 GB, free: 3.793 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007885/0.7677, allocations: 379.3 kB / 0.9897 GB, free: 3.422 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02306/0.7908, allocations: 36.28 MB / 1.025 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.7924, allocations: 127.9 kB / 1.025 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.7925, allocations: 95.94 kB / 1.025 GB, free: 12.86 MB / 0.8073 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.002288/0.7948, allocations: 1.504 MB / 1.027 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003204/0.7951, allocations: 290.2 kB / 1.027 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006106/0.8012, allocations: 5.153 MB / 1.032 GB, free: 5.832 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.8012, allocations: 20 kB / 1.032 GB, free: 5.812 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.445e-05/0.8013, allocations: 24 kB / 1.032 GB, free: 5.789 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.8013, allocations: 11.97 kB / 1.032 GB, free: 5.777 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/0.812, allocations: 9.095 MB / 1.041 GB, free: 12.48 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.812, allocations: 4 kB / 1.041 GB, free: 12.48 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000439/0.8124, allocations: 215.6 kB / 1.041 GB, free: 12.27 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003082/0.8155, allocations: 1.834 MB / 1.043 GB, free: 10.38 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.724e-05/0.8156, allocations: 36 kB / 1.043 GB, free: 10.34 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02251/0.8381, allocations: 35.29 MB / 1.078 GB, free: 4.973 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.8381, allocations: 11.94 kB / 1.078 GB, free: 4.961 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005542/0.8437, allocations: 4.856 MB / 1.082 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.8447, allocations: 0.5567 MB / 1.083 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/0.8449, allocations: 43.94 kB / 1.083 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007586/0.8456, allocations: 131.8 kB / 1.083 GB, free: 15.21 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004767/0.8461, allocations: 205.4 kB / 1.083 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.397e-05/0.8462, allocations: 56 kB / 1.083 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001463/0.8477, allocations: 1.382 MB / 1.085 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8477, allocations: 0 / 1.085 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002861/0.8505, allocations: 1.051 MB / 1.086 GB, free: 12.52 MB / 0.8698 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.005632/0.8562, allocations: 5.474 MB / 1.091 GB, free: 6.875 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005942/0.8621, allocations: 6.006 MB / 1.097 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.8621, allocations: 7.938 kB / 1.097 GB, free: 0.6328 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003598/0.8657, allocations: 4.277 MB / 1.101 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002242/0.8679, allocations: 0.987 MB / 1.102 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0344/0.9023, allocations: 30.74 MB / 1.132 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003311/0.9057, allocations: 2.588 MB / 1.135 GB, free: 8.77 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00148/0.9071, allocations: 0.516 MB / 1.135 GB, free: 8.25 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001481/0.9086, allocations: 1.683 MB / 1.137 GB, free: 6.566 MB / 0.9167 GB Notification: Performance of SimCode: time 2.816e-06/0.9086, allocations: 0 / 1.137 GB, free: 6.566 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4765/1.385, allocations: 94.43 MB / 1.229 GB, free: 226.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.014/10.4, allocations: 12.02 kB / 1.229 GB, free: 226.9 MB / 0.9167 GB " [Timeout remaining time 649] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.576079525984824] Failed to read output from testmodel.py, exit status != 0: 10.517942416947335 10.523459327 9.886690719 Calling exit ...