Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009512/0.0009512, 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.000985/0.000985, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.955/0.955, allocations: 230.6 MB / 256 MB, free: 9.582 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.7709/0.7709, allocations: 203.8 MB / 0.5042 GB, free: 10.42 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_L_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_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.001371/0.001371, allocations: 62.31 kB / 0.7182 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4528/0.4541, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.02777/0.4819, allocations: 33.76 MB / 0.8508 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01512/0.497, allocations: 11.54 MB / 0.8621 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002707/0.4997, allocations: 206.4 kB / 0.8623 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.005679/0.5054, allocations: 4.269 MB / 0.8664 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005207/0.5106, allocations: 2.093 MB / 0.8685 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004709/0.5153, allocations: 2.406 MB / 0.8708 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.008721/0.5241, allocations: 8.463 MB / 0.8791 GB, free: 6.766 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006636/0.5307, allocations: 6.168 MB / 0.8851 GB, free: 0.5469 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005146/0.5358, allocations: 3.872 MB / 0.8889 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005227/0.5411, allocations: 4.147 MB / 0.8929 GB, free: 8.5 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.001499/0.5426, allocations: 0.7773 MB / 0.8937 GB, free: 7.723 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004586/0.5471, allocations: 1.899 MB / 0.8955 GB, free: 5.824 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.00446/0.5516, allocations: 3.145 MB / 0.8986 GB, free: 2.672 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.004934/0.5565, allocations: 2.751 MB / 0.9013 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0109/0.5674, allocations: 12.07 MB / 0.9131 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.5674, allocations: 0 / 0.9131 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5675, allocations: 3.938 kB / 0.9131 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003044/0.5678, allocations: 0 / 0.9131 GB, free: 3.801 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01039/0.5781, allocations: 5.867 MB / 0.9188 GB, free: 13.87 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.5782, allocations: 8.031 kB / 0.9188 GB, free: 13.86 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0013/0.5795, allocations: 0.8089 MB / 0.9196 GB, free: 13.04 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004051/0.5835, allocations: 1.094 MB / 0.9207 GB, free: 11.95 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006206/0.5897, allocations: 3.419 MB / 0.924 GB, free: 8.461 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002785/0.59, allocations: 411.5 kB / 0.9244 GB, free: 8.059 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001409/0.5914, allocations: 0.5354 MB / 0.9249 GB, free: 7.523 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01469/0.6061, allocations: 9.384 MB / 0.9341 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001315/0.6063, allocations: 31.75 kB / 0.9341 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006812/0.6069, allocations: 232 kB / 0.9344 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002629/0.6072, allocations: 350.8 kB / 0.9347 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009373/0.6166, allocations: 6.814 MB / 0.9413 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02969/0.6463, allocations: 25.13 MB / 0.9659 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002391/0.6487, allocations: 2.296 MB / 0.9681 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/0.6503, allocations: 1.779 MB / 0.9699 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.395e-05/0.6504, allocations: 18 kB / 0.9699 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.6504, allocations: 52.56 kB / 0.9699 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=179): time 4.197e-06/0.6504, allocations: 0 / 0.9699 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of matching and sorting (n=182): time 0.01509/0.6655, allocations: 9.682 MB / 0.9794 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.6656, allocations: 77.34 kB / 0.9795 GB, free: 14.63 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.6671, allocations: 1.569 MB / 0.981 GB, free: 13.02 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 9.194e-05/0.6672, allocations: 57.7 kB / 0.981 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009782/0.6682, allocations: 2.323 MB / 0.9833 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004041/0.6686, allocations: 0.6623 MB / 0.984 GB, free: 9.945 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004117/0.669, allocations: 408.1 kB / 0.9844 GB, free: 9.539 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.914e-05/0.6691, allocations: 309.1 kB / 0.9846 GB, free: 9.234 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.6702, allocations: 1.176 MB / 0.9858 GB, free: 8.055 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/0.6718, allocations: 1.885 MB / 0.9876 GB, free: 5.855 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00272/0.6745, allocations: 3.364 MB / 0.9909 GB, free: 2.18 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/0.6745, allocations: 4 kB / 0.9909 GB, free: 2.176 MB / 0.7605 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004929/0.6794, allocations: 4.546 MB / 0.9954 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.6795, allocations: 16 kB / 0.9954 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.6795, allocations: 20 kB / 0.9954 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002159/0.6816, allocations: 1.588 MB / 0.997 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006524/0.6823, allocations: 355.3 kB / 0.9973 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01523/0.6975, allocations: 17.94 MB / 1.015 GB, free: 9.238 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.6987, allocations: 107.9 kB / 1.015 GB, free: 9.133 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.6988, allocations: 104 kB / 1.015 GB, free: 9.031 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.002265/0.7011, allocations: 1.894 MB / 1.017 GB, free: 7.125 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002598/0.7014, allocations: 238.5 kB / 1.017 GB, free: 6.891 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004057/0.7054, allocations: 4.04 MB / 1.021 GB, free: 2.824 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.7054, allocations: 19.94 kB / 1.021 GB, free: 2.805 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.402e-05/0.7054, allocations: 16 kB / 1.021 GB, free: 2.789 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.7055, allocations: 15.89 kB / 1.021 GB, free: 2.773 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009287/0.7147, allocations: 8.654 MB / 1.03 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.7148, allocations: 4.562 kB / 1.03 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004172/0.7152, allocations: 183.7 kB / 1.03 GB, free: 9.781 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001844/0.717, allocations: 1.351 MB / 1.031 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-05/0.7171, allocations: 36 kB / 1.031 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01355/0.7307, allocations: 16.73 MB / 1.047 GB, free: 7.199 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7307, allocations: 4 kB / 1.047 GB, free: 7.195 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004553/0.7352, allocations: 4.036 MB / 1.051 GB, free: 3.07 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007998/0.736, allocations: 474.4 kB / 1.052 GB, free: 2.605 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.7362, allocations: 39.98 kB / 1.052 GB, free: 2.566 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004888/0.7366, allocations: 92.38 kB / 1.052 GB, free: 2.477 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003228/0.737, allocations: 169.6 kB / 1.052 GB, free: 2.309 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.345e-05/0.737, allocations: 48 kB / 1.052 GB, free: 2.262 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0009163/0.7379, allocations: 1.005 MB / 1.053 GB, free: 1.234 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7379, allocations: 0 / 1.053 GB, free: 1.234 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002082/0.74, allocations: 0.9844 MB / 1.054 GB, free: 256 kB / 0.823 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.004177/0.7442, allocations: 4.633 MB / 1.059 GB, free: 11.52 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004602/0.7488, allocations: 4.167 MB / 1.063 GB, free: 7.301 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/0.7488, allocations: 4 kB / 1.063 GB, free: 7.297 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00276/0.7516, allocations: 2.572 MB / 1.065 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/0.7537, allocations: 0.7932 MB / 1.066 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03157/0.7852, allocations: 27 MB / 1.092 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003397/0.7886, allocations: 3.039 MB / 1.095 GB, free: 4.762 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001017/0.7896, allocations: 471.9 kB / 1.096 GB, free: 4.297 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0014/0.791, allocations: 1.784 MB / 1.097 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of SimCode: time 1.703e-06/0.791, allocations: 0 / 1.097 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4369/1.228, allocations: 78.53 MB / 1.174 GB, free: 276.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.705/9.933, allocations: 13.38 kB / 1.174 GB, free: 276.7 MB / 0.9167 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.939307942986488] Failed to read output from testmodel.py, exit status != 0: 10.042780284304172 10.054738595 9.484459336 Calling exit ...