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.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.001424/0.001424, allocations: 112.2 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.001379/0.001379, 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.282/1.282, allocations: 225.6 MB / 249.3 MB, free: 3.133 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.9506/0.9506, allocations: 175.7 MB / 480.1 MB, free: 2.746 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_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: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 72.41 kB / 0.6678 GB, free: 10.94 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1533, allocations: 94.53 MB / 0.7601 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04061/0.1939, allocations: 36.64 MB / 0.7959 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01861/0.2126, allocations: 11.93 MB / 0.8075 GB, free: 76 kB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00259/0.2151, allocations: 159.3 kB / 0.8077 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.01028/0.2254, allocations: 4.428 MB / 0.812 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005353/0.2308, allocations: 2.088 MB / 0.814 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.005879/0.2367, allocations: 2.46 MB / 0.8164 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009804/0.2465, allocations: 8.459 MB / 0.8247 GB, free: 14.44 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00908/0.2555, allocations: 5.877 MB / 0.8304 GB, free: 8.445 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005272/0.2608, allocations: 3.786 MB / 0.8341 GB, free: 4.648 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006273/0.2671, allocations: 4.432 MB / 0.8385 GB, free: 208 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.3132/0.5803, allocations: 0.7785 MB / 0.8392 GB, free: 21.51 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004533/0.5848, allocations: 2.061 MB / 0.8412 GB, free: 21.51 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003455/0.5883, allocations: 3.137 MB / 0.8443 GB, free: 21.51 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00492/0.5932, allocations: 3.397 MB / 0.8476 GB, free: 20.93 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01365/0.6069, allocations: 12.02 MB / 0.8594 GB, free: 19.8 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6069, allocations: 0 / 0.8594 GB, free: 19.8 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6069, allocations: 0 / 0.8594 GB, free: 19.8 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003104/0.6072, allocations: 1.375 kB / 0.8594 GB, free: 19.8 MB / 0.6387 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.01241/0.6196, allocations: 5.942 MB / 0.8652 GB, free: 17.53 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.6196, allocations: 11.78 kB / 0.8652 GB, free: 17.53 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001196/0.6208, allocations: 0.8018 MB / 0.8659 GB, free: 17.45 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005487/0.6263, allocations: 1.086 MB / 0.867 GB, free: 17.13 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005133/0.6315, allocations: 3.474 MB / 0.8704 GB, free: 16.43 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002356/0.6317, allocations: 415.8 kB / 0.8708 GB, free: 16.41 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008905/0.6326, allocations: 0.5365 MB / 0.8713 GB, free: 16.41 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01312/0.6457, allocations: 9.079 MB / 0.8802 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001287/0.6458, allocations: 33.78 kB / 0.8802 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005535/0.6464, allocations: 238.6 kB / 0.8804 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000248/0.6466, allocations: 349.2 kB / 0.8808 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00908/0.6557, allocations: 6.826 MB / 0.8874 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03714/0.6929, allocations: 39.86 MB / 0.9264 GB, free: 6.66 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00326/0.6961, allocations: 2.903 MB / 0.9292 GB, free: 4.68 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002135/0.6983, allocations: 1.789 MB / 0.931 GB, free: 3.746 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.448e-05/0.6983, allocations: 17.03 kB / 0.931 GB, free: 3.742 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.968e-05/0.6984, allocations: 55.59 kB / 0.931 GB, free: 3.691 MB / 0.67 GB Notification: Performance of pre-optimization done (n=179): time 3.236e-06/0.6984, allocations: 0 / 0.931 GB, free: 3.691 MB / 0.67 GB Notification: Performance of matching and sorting (n=182): time 0.02331/0.7217, allocations: 9.991 MB / 0.9408 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.7217, allocations: 77.41 kB / 0.9409 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/0.7238, allocations: 1.526 MB / 0.9423 GB, free: 8.746 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.7239, allocations: 53.7 kB / 0.9424 GB, free: 8.688 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001561/0.7255, allocations: 2.326 MB / 0.9447 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005841/0.7261, allocations: 0.6629 MB / 0.9453 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006261/0.7267, allocations: 408.1 kB / 0.9457 GB, free: 5.285 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.7268, allocations: 309 kB / 0.946 GB, free: 4.98 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001681/0.7285, allocations: 1.176 MB / 0.9471 GB, free: 3.801 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002248/0.7308, allocations: 1.887 MB / 0.949 GB, free: 1.609 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004233/0.735, allocations: 3.37 MB / 0.9523 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.586e-05/0.735, allocations: 7.984 kB / 0.9523 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007577/0.7426, allocations: 4.54 MB / 0.9567 GB, free: 9.641 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.794e-05/0.7426, allocations: 12 kB / 0.9567 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-05/0.7426, allocations: 27.98 kB / 0.9568 GB, free: 9.602 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00367/0.7463, allocations: 1.577 MB / 0.9583 GB, free: 8.023 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.7475, allocations: 353.1 kB / 0.9586 GB, free: 7.703 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02339/0.7708, allocations: 18.62 MB / 0.9768 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.7726, allocations: 115.9 kB / 0.9769 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002655/0.7728, allocations: 96 kB / 0.977 GB, free: 4.398 MB / 0.7169 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.003358/0.7762, allocations: 1.896 MB / 0.9789 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004873/0.7767, allocations: 234.5 kB / 0.9791 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007083/0.7837, allocations: 4.038 MB / 0.983 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.7838, allocations: 20 kB / 0.9831 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.161e-05/0.7838, allocations: 16 kB / 0.9831 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.7838, allocations: 11.97 kB / 0.9831 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01658/0.8004, allocations: 9.424 MB / 0.9923 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.8004, allocations: 4 kB / 0.9923 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008079/0.8012, allocations: 178.3 kB / 0.9925 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00338/0.8046, allocations: 1.363 MB / 0.9938 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001406/0.8047, allocations: 32 kB / 0.9938 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02322/0.828, allocations: 17.37 MB / 1.011 GB, free: 1.215 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.828, allocations: 8 kB / 1.011 GB, free: 1.207 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00692/0.8349, allocations: 4.025 MB / 1.015 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/0.8361, allocations: 0.5429 MB / 1.015 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003906/0.8365, allocations: 40 kB / 1.015 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/0.8375, allocations: 83.89 kB / 1.015 GB, free: 12.47 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004178/0.8379, allocations: 161.2 kB / 1.016 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/0.838, allocations: 52 kB / 1.016 GB, free: 12.26 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001491/0.8395, allocations: 1.005 MB / 1.017 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of sort global known variables: time 7e-08/0.8395, allocations: 0 / 1.017 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00309/0.8426, allocations: 0.9879 MB / 1.018 GB, free: 10.25 MB / 0.7637 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.006708/0.8493, allocations: 4.634 MB / 1.022 GB, free: 5.59 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00651/0.8558, allocations: 4.175 MB / 1.026 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.8558, allocations: 0 / 1.026 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.004055/0.8599, allocations: 2.566 MB / 1.029 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00305/0.8629, allocations: 0.7701 MB / 1.029 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04259/0.9055, allocations: 27.02 MB / 1.056 GB, free: 2.305 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005236/0.9107, allocations: 3.573 MB / 1.059 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001313/0.9121, allocations: 467.9 kB / 1.06 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002267/0.9143, allocations: 1.784 MB / 1.061 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of SimCode: time 9.01e-07/0.9143, allocations: 0 / 1.061 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1316/1.046, allocations: 74.82 MB / 1.135 GB, free: 2.422 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.49, allocations: 2.188 kB / 1.135 GB, free: 2.422 MB / 0.8731 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_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: 17.006100370010245]