Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 197.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002498/0.002498, allocations: 275 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.05/1.05, allocations: 178.6 MB / 0.5073 GB, free: 4.594 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004343/0.004344, allocations: 105 kB / 0.6066 GB, free: 24.58 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1741, allocations: 89.14 MB / 0.6936 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01283/0.187, allocations: 10.07 MB / 0.7034 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005523/0.1925, allocations: 3.174 MB / 0.7065 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005059/0.1931, allocations: 39.75 kB / 0.7066 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.1946, allocations: 0.5928 MB / 0.7072 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001372/0.196, allocations: 0.7427 MB / 0.7079 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.1974, allocations: 0.7395 MB / 0.7086 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002922/0.2004, allocations: 2.996 MB / 0.7115 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002934/0.2033, allocations: 2.614 MB / 0.7141 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.2049, allocations: 1.25 MB / 0.7153 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001959/0.2069, allocations: 1.558 MB / 0.7168 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003415/0.2072, allocations: 236 kB / 0.7171 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009166/0.2082, allocations: 0.4954 MB / 0.7175 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001025/0.2092, allocations: 1.072 MB / 0.7186 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001164/0.2104, allocations: 1.116 MB / 0.7197 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003377/0.2137, allocations: 3.665 MB / 0.7233 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2138, allocations: 0 / 0.7233 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2138, allocations: 0 / 0.7233 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.169e-05/0.2138, allocations: 0 / 0.7233 GB, free: 5.758 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.004078/0.2179, allocations: 2.142 MB / 0.7254 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.218, allocations: 8.031 kB / 0.7254 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003608/0.2183, allocations: 261.2 kB / 0.7256 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009268/0.2276, allocations: 1.313 MB / 0.7269 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002316/0.2299, allocations: 1.255 MB / 0.7281 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.526e-05/0.2301, allocations: 115.4 kB / 0.7282 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003222/0.2304, allocations: 144.3 kB / 0.7284 GB, free: 424 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005408/0.2358, allocations: 3.444 MB / 0.7317 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.602e-05/0.2358, allocations: 7.906 kB / 0.7317 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002183/0.2361, allocations: 67.89 kB / 0.7318 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002707/0.2364, allocations: 207.1 kB / 0.732 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005009/0.2414, allocations: 3.127 MB / 0.7351 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01871/0.2601, allocations: 13.62 MB / 0.7484 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002644/0.2628, allocations: 1.724 MB / 0.75 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002057/0.2648, allocations: 1.433 MB / 0.7514 GB, free: 7.793 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.943e-05/0.2649, allocations: 13 kB / 0.7514 GB, free: 7.781 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.265, allocations: 47.55 kB / 0.7515 GB, free: 7.727 MB / 0.545 GB Notification: Performance of pre-optimization done (n=104): time 3.336e-06/0.265, allocations: 0 / 0.7515 GB, free: 7.727 MB / 0.545 GB Notification: Performance of matching and sorting (n=183): time 0.4082/0.6732, allocations: 36.67 MB / 0.7873 GB, free: 59.04 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.739e-05/0.6733, allocations: 71.28 kB / 0.7874 GB, free: 58.97 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.6748, allocations: 1.056 MB / 0.7884 GB, free: 58.38 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002587/0.675, allocations: 55.02 kB / 0.7885 GB, free: 58.33 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/0.6754, allocations: 0.7954 MB / 0.7892 GB, free: 57.63 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004173/0.6758, allocations: 0.6185 MB / 0.7898 GB, free: 57.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000665/0.6765, allocations: 361 kB / 0.7902 GB, free: 56.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.778e-05/0.6765, allocations: 301.1 kB / 0.7905 GB, free: 56.62 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002103/0.6786, allocations: 1.933 MB / 0.7924 GB, free: 55.62 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002254/0.6809, allocations: 2.294 MB / 0.7946 GB, free: 54.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00425/0.6851, allocations: 4.384 MB / 0.7989 GB, free: 50.56 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.6852, allocations: 0 / 0.7989 GB, free: 50.56 MB / 0.545 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01805/0.7032, allocations: 9.025 MB / 0.8077 GB, free: 41.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.7033, allocations: 12.09 kB / 0.8077 GB, free: 41.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.7033, allocations: 11.98 kB / 0.8077 GB, free: 41.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01529/0.7186, allocations: 5.009 MB / 0.8126 GB, free: 36.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007894/0.7194, allocations: 187.7 kB / 0.8128 GB, free: 36.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04685/0.7663, allocations: 38.92 MB / 0.8508 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/0.7684, allocations: 103.9 kB / 0.8509 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/0.7686, allocations: 68 kB / 0.851 GB, free: 12.67 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001343/0.77, allocations: 0.8062 MB / 0.8517 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003325/0.7703, allocations: 138.3 kB / 0.8519 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02138/0.7917, allocations: 8.89 MB / 0.8606 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.002e-05/0.7918, allocations: 24.73 kB / 0.8606 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.284e-05/0.7918, allocations: 28 kB / 0.8606 GB, free: 2.734 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.168e-05/0.7919, allocations: 11.97 kB / 0.8606 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02933/0.8212, allocations: 13.29 MB / 0.8736 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.764e-05/0.8213, allocations: 4 kB / 0.8736 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005344/0.8218, allocations: 119.8 kB / 0.8737 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01761/0.8395, allocations: 4.794 MB / 0.8784 GB, free: 408 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003661/0.8399, allocations: 33.88 kB / 0.8784 GB, free: 376 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05771/0.8976, allocations: 34.86 MB / 0.9125 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.8976, allocations: 11.83 kB / 0.9125 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02106/0.9187, allocations: 8.404 MB / 0.9207 GB, free: 4.461 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001637/0.9204, allocations: 0.6124 MB / 0.9213 GB, free: 3.828 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004338/0.9208, allocations: 39.98 kB / 0.9213 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/0.9222, allocations: 83.89 kB / 0.9214 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008183/0.9231, allocations: 173.5 kB / 0.9216 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/0.9232, allocations: 48 kB / 0.9216 GB, free: 3.492 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001091/0.9243, allocations: 0.7382 MB / 0.9223 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9243, allocations: 0 / 0.9223 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003099/0.9274, allocations: 1.008 MB / 0.9233 GB, free: 1.734 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02063/0.9481, allocations: 9 MB / 0.9321 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01233/0.9604, allocations: 6.696 MB / 0.9387 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.9605, allocations: 0 / 0.9387 GB, free: 1.895 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.008566/0.9691, allocations: 3.838 MB / 0.9424 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/0.9707, allocations: 246.9 kB / 0.9426 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06368/1.034, allocations: 31.69 MB / 0.9736 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001969/1.036, allocations: 1.859 MB / 0.9754 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000931/1.037, allocations: 352.8 kB / 0.9757 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007721/1.038, allocations: 0.6125 MB / 0.9763 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of SimCode: time 7.01e-07/1.038, allocations: 0 / 0.9763 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3824/1.421, allocations: 74.18 MB / 1.049 GB, free: 242.5 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/12.05, allocations: 12.34 kB / 1.049 GB, free: 242.5 MB / 0.7325 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)