Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.0008327/0.0008327, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.001103/0.001103, allocations: 217.7 kB / 22.26 MB, free: 3.703 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.9926/0.9926, allocations: 230.6 MB / 256 MB, free: 9.809 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.7909/0.7909, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.ACLineMatrix_RL_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",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.001407/0.001407, allocations: 75.06 kB / 0.7183 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4881/0.4895, allocations: 102 MB / 0.8179 GB, free: 1.281 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02015/0.5096, allocations: 24.45 MB / 0.8418 GB, free: 0.9648 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009799/0.5194, allocations: 6.702 MB / 0.8483 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001839/0.5213, allocations: 130.1 kB / 0.8484 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002492/0.5238, allocations: 1.564 MB / 0.8499 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003548/0.5273, allocations: 1.929 MB / 0.8518 GB, free: 9.457 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002933/0.5302, allocations: 1.515 MB / 0.8533 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.007338/0.5376, allocations: 6.91 MB / 0.8601 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005492/0.5431, allocations: 3.764 MB / 0.8637 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005838/0.5489, allocations: 2.915 MB / 0.8666 GB, free: 268 kB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005492/0.5544, allocations: 3.735 MB / 0.8702 GB, free: 14 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.002415/0.5568, allocations: 0.5275 MB / 0.8707 GB, free: 14 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004386/0.5612, allocations: 1.197 MB / 0.8719 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.003718/0.5649, allocations: 2.535 MB / 0.8744 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.005457/0.5704, allocations: 2.536 MB / 0.8769 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.5806, allocations: 8.545 MB / 0.8852 GB, free: 0.9102 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.5806, allocations: 0 / 0.8852 GB, free: 0.9102 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.394e-06/0.5806, allocations: 4 kB / 0.8852 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002674/0.5809, allocations: 0 / 0.8852 GB, free: 0.9062 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: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.007877/0.5888, allocations: 4.468 MB / 0.8896 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.5888, allocations: 8.031 kB / 0.8896 GB, free: 12.37 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007122/0.5895, allocations: 0.5753 MB / 0.8901 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004745/0.5943, allocations: 1.707 MB / 0.8918 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004378/0.5987, allocations: 2.665 MB / 0.8944 GB, free: 7.363 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.5988, allocations: 275.7 kB / 0.8947 GB, free: 7.094 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005918/0.5994, allocations: 364.2 kB / 0.895 GB, free: 6.738 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009223/0.6086, allocations: 7.483 MB / 0.9023 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.99e-05/0.6087, allocations: 15.88 kB / 0.9023 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002781/0.609, allocations: 159.9 kB / 0.9025 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003675/0.6093, allocations: 483.3 kB / 0.903 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007109/0.6164, allocations: 5.701 MB / 0.9085 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02573/0.6422, allocations: 31.27 MB / 0.9391 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001816/0.644, allocations: 2.021 MB / 0.941 GB, free: 4.559 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001979/0.646, allocations: 2.108 MB / 0.9431 GB, free: 2.445 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.892e-05/0.6461, allocations: 17.25 kB / 0.9431 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.6461, allocations: 51.88 kB / 0.9432 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=146): time 2.735e-06/0.6461, allocations: 0 / 0.9432 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of matching and sorting (n=251): time 0.1478/0.7939, allocations: 76.72 MB / 1.018 GB, free: 5.516 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.794, allocations: 77.41 kB / 1.018 GB, free: 5.426 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/0.7959, allocations: 1.674 MB / 1.02 GB, free: 3.707 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0004478/0.7964, allocations: 65.7 kB / 1.02 GB, free: 3.637 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008934/0.7972, allocations: 1.795 MB / 1.022 GB, free: 1.824 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008121/0.7981, allocations: 0.8946 MB / 1.022 GB, free: 0.9219 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006191/0.7987, allocations: 485.4 kB / 1.023 GB, free: 452 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.071e-05/0.7987, allocations: 301.1 kB / 1.023 GB, free: 148 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00266/0.8014, allocations: 2.734 MB / 1.026 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003109/0.8045, allocations: 3.336 MB / 1.029 GB, free: 9.828 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00588/0.8104, allocations: 6.389 MB / 1.035 GB, free: 3.195 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.556e-06/0.8104, allocations: 4 kB / 1.035 GB, free: 3.191 MB / 0.8073 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.02029/0.8307, allocations: 14.41 MB / 1.049 GB, free: 4.73 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.8307, allocations: 13 kB / 1.049 GB, free: 4.719 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.8308, allocations: 16 kB / 1.05 GB, free: 4.703 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01663/0.8474, allocations: 9.247 MB / 1.059 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008222/0.8482, allocations: 295.5 kB / 1.059 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05229/0.9005, allocations: 51.78 MB / 1.109 GB, free: 6.625 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/0.9026, allocations: 220 kB / 1.11 GB, free: 6.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002166/0.9028, allocations: 100 kB / 1.11 GB, free: 6.312 MB / 0.8855 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002404/0.9052, allocations: 1.59 MB / 1.111 GB, free: 4.711 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004781/0.9057, allocations: 258.5 kB / 1.111 GB, free: 4.457 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01999/0.9257, allocations: 14.47 MB / 1.126 GB, free: 5.926 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.045e-05/0.9257, allocations: 24 kB / 1.126 GB, free: 5.902 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001315/0.9259, allocations: 44 kB / 1.126 GB, free: 5.859 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.203e-05/0.9259, allocations: 11.95 kB / 1.126 GB, free: 5.848 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02736/0.9533, allocations: 20.21 MB / 1.145 GB, free: 1.441 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/0.9533, allocations: 4 kB / 1.145 GB, free: 1.438 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004718/0.9537, allocations: 163.8 kB / 1.146 GB, free: 1.277 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3928/1.347, allocations: 9.011 MB / 1.154 GB, free: 283.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000346/1.347, allocations: 49.33 kB / 1.154 GB, free: 283.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04484/1.392, allocations: 51.34 MB / 1.205 GB, free: 262.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.392, allocations: 14.47 kB / 1.205 GB, free: 262.6 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01632/1.408, allocations: 14.1 MB / 1.218 GB, free: 253.6 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001347/1.409, allocations: 0.7829 MB / 1.219 GB, free: 252.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002336/1.41, allocations: 48 kB / 1.219 GB, free: 252.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/1.411, allocations: 211.7 kB / 1.219 GB, free: 252.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008351/1.412, allocations: 249.1 kB / 1.22 GB, free: 252.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/1.412, allocations: 71.94 kB / 1.22 GB, free: 252.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0008456/1.412, allocations: 1.125 MB / 1.221 GB, free: 251.1 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.7e-07/1.412, allocations: 0 / 1.221 GB, free: 251.1 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002956/1.415, allocations: 1.617 MB / 1.222 GB, free: 249.5 MB / 0.9167 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01589/1.431, allocations: 14.7 MB / 1.237 GB, free: 234.7 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01116/1.442, allocations: 10.21 MB / 1.247 GB, free: 224.4 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/1.442, allocations: 4 kB / 1.247 GB, free: 224.4 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.008404/1.451, allocations: 7.021 MB / 1.254 GB, free: 217.4 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001805/1.453, allocations: 0.5588 MB / 1.254 GB, free: 216.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.054/1.507, allocations: 50.5 MB / 1.303 GB, free: 165.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002222/1.509, allocations: 3.22 MB / 1.307 GB, free: 162 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000739/1.51, allocations: 391.3 kB / 1.307 GB, free: 161.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008116/1.51, allocations: 1.468 MB / 1.308 GB, free: 160.2 MB / 0.9167 GB Notification: Performance of SimCode: time 1.282e-06/1.51, allocations: 0 / 1.308 GB, free: 160.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1349/1.645, allocations: 124.6 MB / 1.43 GB, free: 35.8 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.23/11.88, allocations: 6.047 kB / 1.43 GB, free: 35.8 MB / 0.9167 GB " [Timeout remaining time 648] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.011968021048233] Failed to read output from testmodel.py, exit status != 0: 11.993878837907687 12.00379739 11.42042139 Calling exit ...