Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.0007947/0.0007947, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.0009141/0.0009141, allocations: 216 kB / 22.25 MB, free: 3.594 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.9357/0.9357, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.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.764/0.764, allocations: 203.5 MB / 0.5039 GB, free: 10.7 MB / 410.7 MB " [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,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.0009478/0.0009478, allocations: 67.03 kB / 0.7178 GB, free: 4.391 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.492/0.4929, allocations: 102 MB / 0.8174 GB, free: 1.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02942/0.5224, allocations: 33.67 MB / 0.8503 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01308/0.5354, allocations: 10.02 MB / 0.8601 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/0.5371, allocations: 191.4 kB / 0.8602 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.00435/0.5415, allocations: 3.819 MB / 0.864 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003595/0.5451, allocations: 2.148 MB / 0.8661 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.002848/0.5479, allocations: 1.971 MB / 0.868 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00678/0.5547, allocations: 7.976 MB / 0.8758 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005926/0.5606, allocations: 5.227 MB / 0.8809 GB, free: 4.805 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004562/0.5652, allocations: 3.498 MB / 0.8843 GB, free: 1.297 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003396/0.5686, allocations: 3.691 MB / 0.8879 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.000609/0.5692, allocations: 0.6797 MB / 0.8886 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00173/0.5709, allocations: 1.365 MB / 0.8899 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.001739/0.5727, allocations: 2.689 MB / 0.8925 GB, free: 8.852 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002163/0.5748, allocations: 2.514 MB / 0.895 GB, free: 6.328 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.007223/0.5821, allocations: 10.45 MB / 0.9052 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.5821, allocations: 4 kB / 0.9052 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.374e-06/0.5821, allocations: 0 / 0.9052 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001527/0.5822, allocations: 0 / 0.9052 GB, free: 11.84 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.006164/0.5884, allocations: 5.473 MB / 0.9105 GB, free: 6.305 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.5884, allocations: 8.031 kB / 0.9105 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006748/0.5891, allocations: 0.7023 MB / 0.9112 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002782/0.5919, allocations: 0.985 MB / 0.9122 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003347/0.5952, allocations: 3.136 MB / 0.9153 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.5954, allocations: 357.9 kB / 0.9156 GB, free: 1.047 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004242/0.5958, allocations: 468.3 kB / 0.916 GB, free: 0.5898 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008221/0.604, allocations: 8.667 MB / 0.9245 GB, free: 7.375 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.952e-05/0.6041, allocations: 19.83 kB / 0.9245 GB, free: 7.355 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003062/0.6044, allocations: 208 kB / 0.9247 GB, free: 7.152 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003/0.6047, allocations: 365.1 kB / 0.9251 GB, free: 6.793 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006484/0.6112, allocations: 5.933 MB / 0.9309 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01868/0.6299, allocations: 23.74 MB / 0.9541 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/0.6319, allocations: 1.991 MB / 0.956 GB, free: 6.41 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/0.633, allocations: 1.325 MB / 0.9573 GB, free: 5.09 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.529e-05/0.6331, allocations: 13.31 kB / 0.9573 GB, free: 5.074 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.6331, allocations: 63.75 kB / 0.9574 GB, free: 5.004 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=157): time 3.366e-06/0.6331, allocations: 4 kB / 0.9574 GB, free: 5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=160): time 0.007857/0.641, allocations: 6.663 MB / 0.9639 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.641, allocations: 72.7 kB / 0.9639 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.6426, allocations: 1.907 MB / 0.9658 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.509e-05/0.6427, allocations: 57.69 kB / 0.9659 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009232/0.6436, allocations: 2.188 MB / 0.968 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003069/0.6439, allocations: 0.5809 MB / 0.9686 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003735/0.6443, allocations: 407.9 kB / 0.969 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.767e-05/0.6443, allocations: 301.1 kB / 0.9692 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009971/0.6453, allocations: 1.062 MB / 0.9703 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001307/0.6466, allocations: 1.768 MB / 0.972 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002481/0.6491, allocations: 3.045 MB / 0.975 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/0.6491, allocations: 12 kB / 0.975 GB, free: 2.199 MB / 0.7448 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.003775/0.6529, allocations: 3.903 MB / 0.9788 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.6529, allocations: 20.03 kB / 0.9788 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.6529, allocations: 24 kB / 0.9788 GB, free: 14.2 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001333/0.6543, allocations: 0.9271 MB / 0.9798 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008025/0.6551, allocations: 423.2 kB / 0.9802 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01208/0.6672, allocations: 21.37 MB / 1.001 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.6683, allocations: 127.9 kB / 1.001 GB, free: 5.949 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.923e-05/0.6684, allocations: 92 kB / 1.001 GB, free: 5.859 MB / 0.7761 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,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.002365/0.6707, allocations: 1.652 MB / 1.003 GB, free: 4.195 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002253/0.671, allocations: 262.4 kB / 1.003 GB, free: 3.938 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003089/0.6741, allocations: 3.244 MB / 1.006 GB, free: 0.6406 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.6741, allocations: 16 kB / 1.006 GB, free: 0.625 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.6741, allocations: 8 kB / 1.006 GB, free: 0.6172 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.6741, allocations: 7.969 kB / 1.006 GB, free: 0.6094 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007109/0.6812, allocations: 7.154 MB / 1.013 GB, free: 9.309 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.6812, allocations: 4 kB / 1.013 GB, free: 9.305 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/0.6817, allocations: 227.6 kB / 1.014 GB, free: 9.082 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001281/0.6829, allocations: 0.8886 MB / 1.014 GB, free: 8.156 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.815e-05/0.683, allocations: 36 kB / 1.014 GB, free: 8.121 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01205/0.6951, allocations: 21.36 MB / 1.035 GB, free: 1.383 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.6951, allocations: 4 kB / 1.035 GB, free: 1.379 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003475/0.6985, allocations: 3.361 MB / 1.039 GB, free: 13.91 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006616/0.6992, allocations: 482.1 kB / 1.039 GB, free: 13.43 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.6994, allocations: 43.94 kB / 1.039 GB, free: 13.39 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005613/0.6999, allocations: 91.89 kB / 1.039 GB, free: 13.3 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002107/0.7001, allocations: 144.9 kB / 1.039 GB, free: 13.16 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.276e-05/0.7002, allocations: 44 kB / 1.039 GB, free: 13.11 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001084/0.7013, allocations: 1.225 MB / 1.041 GB, free: 11.88 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7013, allocations: 0 / 1.041 GB, free: 11.88 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00179/0.7031, allocations: 0.9062 MB / 1.041 GB, free: 10.97 MB / 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00349/0.7066, allocations: 3.962 MB / 1.045 GB, free: 6.887 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003608/0.7102, allocations: 4.302 MB / 1.049 GB, free: 2.43 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.7102, allocations: 0 / 1.049 GB, free: 2.43 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002636/0.7128, allocations: 2.903 MB / 1.052 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/0.7146, allocations: 0.8292 MB / 1.053 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02558/0.7402, allocations: 25.24 MB / 1.078 GB, free: 4.238 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002076/0.7423, allocations: 2.669 MB / 1.08 GB, free: 1.535 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00106/0.7433, allocations: 0.5332 MB / 1.081 GB, free: 0.9961 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/0.7446, allocations: 1.655 MB / 1.083 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of SimCode: time 1.292e-06/0.7446, allocations: 0 / 1.083 GB, free: 15.34 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4093/1.154, allocations: 74.96 MB / 1.156 GB, free: 277.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.687/9.841, allocations: 2 kB / 1.156 GB, free: 277.4 MB / 0.9167 GB " [Timeout remaining time 650] (rm -f IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > IDEAS_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.80777650186792] Failed to read output from testmodel.py, exit status != 0: 9.958953432738781 9.971849446 9.387539009 Calling exit ...