Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.001041/0.001041, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001054/0.001054, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8686/0.8686, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.7005/0.7005, allocations: 154.6 MB / 413.8 MB, free: 0.8125 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: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.214e-05, allocations: 3.484 kB / 0.6181 GB, free: 13.62 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.02599/0.02601, allocations: 35.65 MB / 0.6529 GB, free: 9.855 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0145/0.04051, allocations: 10.96 MB / 0.6636 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003608/0.04412, allocations: 198.6 kB / 0.6638 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0065/0.05062, allocations: 4.393 MB / 0.6681 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.006507/0.05713, allocations: 2.404 MB / 0.6705 GB, free: 7.852 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005703/0.06283, allocations: 2.189 MB / 0.6726 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.3288/0.3917, allocations: 9.458 MB / 0.6818 GB, free: 52.53 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008362/0.4, allocations: 6.351 MB / 0.688 GB, free: 52.02 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01139/0.4114, allocations: 5.779 MB / 0.6937 GB, free: 51.66 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007681/0.4191, allocations: 4.188 MB / 0.6978 GB, free: 51.36 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.003098/0.4222, allocations: 0.8239 MB / 0.6986 GB, free: 51.36 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004614/0.4268, allocations: 1.519 MB / 0.7001 GB, free: 51.32 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.004605/0.4314, allocations: 3.366 MB / 0.7034 GB, free: 51.01 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.006059/0.4375, allocations: 2.564 MB / 0.7059 GB, free: 50.77 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01828/0.4558, allocations: 12.56 MB / 0.7181 GB, free: 47.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 9.016e-06/0.4558, allocations: 0.8438 kB / 0.7181 GB, free: 47.32 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.796e-06/0.4558, allocations: 0 / 0.7181 GB, free: 47.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0005708/0.4563, allocations: 5.062 kB / 0.7181 GB, free: 47.32 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02188/0.4782, allocations: 6.331 MB / 0.7243 GB, free: 43.97 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.4783, allocations: 9.844 kB / 0.7243 GB, free: 43.97 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003712/0.482, allocations: 0.8298 MB / 0.7251 GB, free: 43.54 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006089/0.4881, allocations: 1.11 MB / 0.7262 GB, free: 43.17 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009387/0.4974, allocations: 3.574 MB / 0.7297 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004651/0.4979, allocations: 427.4 kB / 0.7301 GB, free: 41.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002678/0.5006, allocations: 0.5389 MB / 0.7306 GB, free: 41.22 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02259/0.5232, allocations: 10.29 MB / 0.7407 GB, free: 36.24 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002212/0.5234, allocations: 22.45 kB / 0.7407 GB, free: 36.23 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001669/0.5251, allocations: 249.8 kB / 0.7409 GB, free: 36.06 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005293/0.5256, allocations: 422 kB / 0.7413 GB, free: 36.01 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01383/0.5394, allocations: 7.124 MB / 0.7483 GB, free: 33.62 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02999/0.5694, allocations: 26.23 MB / 0.7739 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/0.572, allocations: 2.9 MB / 0.7768 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00162/0.5736, allocations: 1.939 MB / 0.7786 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.793e-05/0.5737, allocations: 22.28 kB / 0.7787 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.5737, allocations: 57.53 kB / 0.7787 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=209): time 3.567e-06/0.5737, allocations: 0 / 0.7787 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=212): time 0.01356/0.5872, allocations: 10.26 MB / 0.7887 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.5873, allocations: 77.41 kB / 0.7888 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.589, allocations: 2.048 MB / 0.7908 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.5891, allocations: 61.7 kB / 0.7909 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001049/0.5902, allocations: 2.475 MB / 0.7933 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005012/0.5907, allocations: 0.7615 MB / 0.794 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005268/0.5912, allocations: 481.3 kB / 0.7945 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.694e-05/0.5913, allocations: 309.1 kB / 0.7948 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.5927, allocations: 1.376 MB / 0.7961 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001918/0.5946, allocations: 2.102 MB / 0.7982 GB, free: 9.055 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003734/0.5983, allocations: 3.769 MB / 0.8019 GB, free: 5.07 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/0.5983, allocations: 8 kB / 0.8019 GB, free: 5.062 MB / 0.6511 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.006203/0.6045, allocations: 5.028 MB / 0.8068 GB, free: 204 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.104e-05/0.6046, allocations: 16 kB / 0.8068 GB, free: 188 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/0.6046, allocations: 20 kB / 0.8068 GB, free: 168 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002321/0.6069, allocations: 1.581 MB / 0.8084 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.6079, allocations: 448.4 kB / 0.8088 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/0.6236, allocations: 17.91 MB / 0.8263 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001908/0.6255, allocations: 147.9 kB / 0.8264 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002033/0.6257, allocations: 107.9 kB / 0.8265 GB, free: 11.62 MB / 0.6823 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003178/0.6288, allocations: 1.939 MB / 0.8284 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004335/0.6293, allocations: 302.2 kB / 0.8287 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00461/0.6339, allocations: 4.405 MB / 0.833 GB, free: 5.027 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.6339, allocations: 20 kB / 0.833 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.677e-05/0.6339, allocations: 16 kB / 0.833 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.6339, allocations: 15.95 kB / 0.8331 GB, free: 4.977 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/0.6454, allocations: 9.165 MB / 0.842 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/0.6454, allocations: 7.938 kB / 0.842 GB, free: 11.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/0.6459, allocations: 230.2 kB / 0.8422 GB, free: 11.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001996/0.6479, allocations: 1.427 MB / 0.8436 GB, free: 10.15 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/0.648, allocations: 40 kB / 0.8437 GB, free: 10.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01485/0.6629, allocations: 17.91 MB / 0.8612 GB, free: 7.789 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.6629, allocations: 11.28 kB / 0.8612 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005554/0.6684, allocations: 4.49 MB / 0.8656 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/0.6698, allocations: 0.576 MB / 0.8661 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000304/0.6701, allocations: 39.98 kB / 0.8662 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008058/0.6709, allocations: 119.9 kB / 0.8663 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004651/0.6714, allocations: 185.2 kB / 0.8664 GB, free: 2.352 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.521e-05/0.6715, allocations: 60 kB / 0.8665 GB, free: 2.293 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001499/0.673, allocations: 1.319 MB / 0.8678 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8e-08/0.673, allocations: 0 / 0.8678 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002958/0.6759, allocations: 1.145 MB / 0.8689 GB, free: 15.82 MB / 0.7292 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005217/0.6811, allocations: 5.104 MB / 0.8739 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00554/0.6867, allocations: 4.535 MB / 0.8783 GB, free: 6.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/0.6867, allocations: 4 kB / 0.8783 GB, free: 6.227 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.003/0.6897, allocations: 2.802 MB / 0.8811 GB, free: 3.414 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002906/0.6926, allocations: 0.8953 MB / 0.8819 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04176/0.7343, allocations: 30.65 MB / 0.9119 GB, free: 2.938 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003628/0.738, allocations: 3.155 MB / 0.9149 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001622/0.7396, allocations: 0.5518 MB / 0.9155 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00183/0.7414, allocations: 1.953 MB / 0.9174 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of SimCode: time 9.01e-07/0.7414, allocations: 3.938 kB / 0.9174 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4021/1.143, allocations: 90.32 MB / 1.006 GB, free: 275.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.834/9.977, allocations: 14.22 kB / 1.006 GB, free: 275.6 MB / 0.8386 GB " [Timeout remaining time 650] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.829468131996691] Failed to read output from testmodel.py, exit status != 0: 10.100397975184023 10.107439702 9.649885954 Calling exit ...