Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 109.7 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 225.6 MB / 249.3 MB, free: 3.379 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 0.9605/0.9605, allocations: 175.7 MB / 480.1 MB, free: 2.863 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 63.53 kB / 0.6678 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.149, allocations: 94.53 MB / 0.7601 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03812/0.1872, allocations: 34.79 MB / 0.7941 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02243/0.2096, allocations: 15.26 MB / 0.809 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002667/0.2123, allocations: 151.2 kB / 0.8091 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.009393/0.2216, allocations: 3.795 MB / 0.8128 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007449/0.2291, allocations: 3.014 MB / 0.8158 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005647/0.2347, allocations: 2.377 MB / 0.8181 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.01037/0.2451, allocations: 8.811 MB / 0.8267 GB, free: 12.45 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008422/0.2535, allocations: 5.101 MB / 0.8317 GB, free: 7.23 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005767/0.2593, allocations: 4.02 MB / 0.8356 GB, free: 3.199 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3129/0.5722, allocations: 4.248 MB / 0.8397 GB, free: 17.69 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.002239/0.5744, allocations: 0.7195 MB / 0.8404 GB, free: 17.69 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004785/0.5792, allocations: 1.749 MB / 0.8421 GB, free: 17.69 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.004519/0.5837, allocations: 2.893 MB / 0.845 GB, free: 17.69 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.006936/0.5907, allocations: 3.394 MB / 0.8483 GB, free: 17.36 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.01411/0.6048, allocations: 11.22 MB / 0.8592 GB, free: 16.23 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.6048, allocations: 0 / 0.8592 GB, free: 16.23 MB / 0.6388 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6048, allocations: 3.938 kB / 0.8593 GB, free: 16.22 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.0002773/0.6051, allocations: 5.281 kB / 0.8593 GB, free: 16.22 MB / 0.6388 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01531/0.6204, allocations: 6.132 MB / 0.8652 GB, free: 13.82 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.6204, allocations: 11.72 kB / 0.8653 GB, free: 13.82 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001707/0.6221, allocations: 0.7238 MB / 0.866 GB, free: 13.75 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007114/0.6292, allocations: 1.167 MB / 0.8671 GB, free: 13.42 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00773/0.637, allocations: 3.538 MB / 0.8706 GB, free: 12.62 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002866/0.6373, allocations: 379.5 kB / 0.8709 GB, free: 12.61 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00162/0.6389, allocations: 494.4 kB / 0.8714 GB, free: 12.61 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01378/0.6527, allocations: 8.006 MB / 0.8792 GB, free: 11.23 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001255/0.6528, allocations: 29.67 kB / 0.8792 GB, free: 11.22 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005721/0.6534, allocations: 215.9 kB / 0.8794 GB, free: 11.07 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009328/0.6543, allocations: 443 kB / 0.8799 GB, free: 10.94 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008854/0.6631, allocations: 6.08 MB / 0.8858 GB, free: 7.871 MB / 0.6388 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03662/0.6998, allocations: 34.95 MB / 0.9199 GB, free: 8.461 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002419/0.7022, allocations: 1.915 MB / 0.9218 GB, free: 7.445 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002114/0.7043, allocations: 1.758 MB / 0.9235 GB, free: 6.531 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-05/0.7044, allocations: 16.38 kB / 0.9235 GB, free: 6.527 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.108e-05/0.7044, allocations: 63.44 kB / 0.9236 GB, free: 6.469 MB / 0.67 GB Notification: Performance of pre-optimization done (n=171): time 2.945e-06/0.7044, allocations: 0 / 0.9236 GB, free: 6.469 MB / 0.67 GB Notification: Performance of matching and sorting (n=276): time 0.1444/0.8488, allocations: 38.85 MB / 0.9615 GB, free: 2.074 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/0.8489, allocations: 81.58 kB / 0.9616 GB, free: 1.98 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003544/0.8524, allocations: 2.282 MB / 0.9638 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003095/0.8527, allocations: 65.7 kB / 0.9639 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00181/0.8546, allocations: 2.34 MB / 0.9662 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009868/0.8555, allocations: 0.9882 MB / 0.9672 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009553/0.8565, allocations: 0.5063 MB / 0.9677 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.8566, allocations: 301.1 kB / 0.9679 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002857/0.8595, allocations: 1.982 MB / 0.9699 GB, free: 9.492 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003399/0.8629, allocations: 2.6 MB / 0.9724 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006628/0.8695, allocations: 4.929 MB / 0.9772 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.8695, allocations: 8 kB / 0.9772 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01398/0.8835, allocations: 7.649 MB / 0.9847 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.8835, allocations: 15.98 kB / 0.9847 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/0.8835, allocations: 16 kB / 0.9847 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008806/0.8924, allocations: 3.217 MB / 0.9879 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/0.8939, allocations: 399.9 kB / 0.9883 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04504/0.9389, allocations: 33.9 MB / 1.021 GB, free: 3.723 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002881/0.9418, allocations: 167.8 kB / 1.022 GB, free: 3.559 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002424/0.9421, allocations: 108 kB / 1.022 GB, free: 3.453 MB / 0.7638 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 (202): * Single equations (assignments): 196 * 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 {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00318/0.9452, allocations: 1.789 MB / 1.023 GB, free: 1.676 MB / 0.7638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006243/0.9459, allocations: 345.9 kB / 1.024 GB, free: 1.336 MB / 0.7638 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01369/0.9596, allocations: 7.252 MB / 1.031 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.503e-05/0.9596, allocations: 28 kB / 1.031 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-05/0.9596, allocations: 32 kB / 1.031 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-05/0.9597, allocations: 11.95 kB / 1.031 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02251/0.9822, allocations: 12.8 MB / 1.043 GB, free: 13.26 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/0.9822, allocations: 8 kB / 1.043 GB, free: 13.25 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008888/0.9831, allocations: 237.5 kB / 1.044 GB, free: 13.04 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007645/0.9907, allocations: 2.863 MB / 1.046 GB, free: 10.16 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002105/0.9909, allocations: 52 kB / 1.046 GB, free: 10.11 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0424/1.033, allocations: 32.69 MB / 1.078 GB, free: 8.645 MB / 0.8263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/1.033, allocations: 15.47 kB / 1.078 GB, free: 8.633 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01201/1.045, allocations: 6.785 MB / 1.085 GB, free: 1.75 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001722/1.047, allocations: 0.7917 MB / 1.086 GB, free: 0.9375 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003931/1.047, allocations: 56 kB / 1.086 GB, free: 0.8828 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/1.049, allocations: 163.8 kB / 1.086 GB, free: 0.7227 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007261/1.05, allocations: 256.9 kB / 1.086 GB, free: 488 kB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001791/1.05, allocations: 76 kB / 1.086 GB, free: 412 kB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.002169/1.052, allocations: 1.525 MB / 1.088 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/1.052, allocations: 0 / 1.088 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003879/1.056, allocations: 1.371 MB / 1.089 GB, free: 13.5 MB / 0.8419 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 (105): * Single equations (assignments): 99 * 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 {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01224/1.068, allocations: 7.413 MB / 1.096 GB, free: 5.996 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0115/1.08, allocations: 6.551 MB / 1.103 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.08, allocations: 3 kB / 1.103 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.007568/1.087, allocations: 4.263 MB / 1.107 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004504/1.092, allocations: 1.104 MB / 1.108 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0644/1.156, allocations: 39.07 MB / 1.146 GB, free: 2.297 MB / 0.8888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00451/1.161, allocations: 3.641 MB / 1.15 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001868/1.163, allocations: 0.5556 MB / 1.15 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002296/1.165, allocations: 1.975 MB / 1.152 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of SimCode: time 9.72e-07/1.165, allocations: 0 / 1.152 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.457/1.622, allocations: 113.2 MB / 1.263 GB, free: 283.5 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/16.68, allocations: 7.156 kB / 1.263 GB, free: 283.5 MB / 0.92 GB " [Timeout remaining time 643] (rm -f IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.204908607003745]