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.0007465/0.0007466, allocations: 90.67 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005556/0.005556, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.302/1.302, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001705/0.001705, allocations: 258.8 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9303/0.9303, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004565/0.0004565, allocations: 15.38 kB / 0.5988 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1792, allocations: 88.54 MB / 0.6853 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01096/0.1902, allocations: 9.575 MB / 0.6946 GB, free: 5.312 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005931/0.1962, allocations: 3.132 MB / 0.6977 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009846/0.1972, allocations: 31.81 kB / 0.6977 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007277/0.198, allocations: 182.6 kB / 0.6979 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002024/0.2, allocations: 0.7111 MB / 0.6986 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00168/0.2017, allocations: 0.6498 MB / 0.6992 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004709/0.2064, allocations: 4.474 MB / 0.7036 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005003/0.2115, allocations: 3.146 MB / 0.7066 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002008/0.2135, allocations: 0.934 MB / 0.7075 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002483/0.216, allocations: 1.457 MB / 0.709 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005716/0.2166, allocations: 116 kB / 0.7091 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.218, allocations: 467.2 kB / 0.7095 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001526/0.2195, allocations: 0.9275 MB / 0.7104 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.2215, allocations: 0.9657 MB / 0.7114 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004519/0.226, allocations: 3.528 MB / 0.7148 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.226, allocations: 0 / 0.7148 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.334e-06/0.226, allocations: 0 / 0.7148 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001212/0.2262, allocations: 0 / 0.7148 GB, free: 0.5156 MB / 0.4981 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.004403/0.2306, allocations: 1.756 MB / 0.7165 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.2306, allocations: 19.91 kB / 0.7166 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007953/0.2314, allocations: 261.2 kB / 0.7168 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009226/0.2407, allocations: 1.317 MB / 0.7181 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002742/0.2435, allocations: 1.251 MB / 0.7193 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/0.2436, allocations: 119.3 kB / 0.7194 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006794/0.2443, allocations: 148.3 kB / 0.7196 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007537/0.2519, allocations: 3.437 MB / 0.7229 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.882e-05/0.252, allocations: 3.938 kB / 0.7229 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005047/0.2525, allocations: 63.97 kB / 0.723 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003233/0.2528, allocations: 207.1 kB / 0.7232 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006127/0.259, allocations: 3.131 MB / 0.7262 GB, free: 4.602 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02208/0.2811, allocations: 13.58 MB / 0.7395 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003017/0.2841, allocations: 1.74 MB / 0.7412 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002203/0.2863, allocations: 1.425 MB / 0.7426 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.2865, allocations: 20.94 kB / 0.7426 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.736e-05/0.2865, allocations: 43.56 kB / 0.7427 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=104): time 2.895e-06/0.2865, allocations: 0 / 0.7427 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of matching and sorting (n=183): time 0.4875/0.7741, allocations: 35.94 MB / 0.7778 GB, free: 87.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/0.7742, allocations: 71.69 kB / 0.7778 GB, free: 87.01 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.776, allocations: 1.055 MB / 0.7789 GB, free: 86.87 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004296/0.7764, allocations: 54.17 kB / 0.7789 GB, free: 86.84 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005554/0.777, allocations: 0.7864 MB / 0.7797 GB, free: 86.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006325/0.7776, allocations: 0.6265 MB / 0.7803 GB, free: 86.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003531/0.778, allocations: 155.1 kB / 0.7804 GB, free: 86.25 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.905e-05/0.7781, allocations: 306.4 kB / 0.7807 GB, free: 85.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002963/0.781, allocations: 1.932 MB / 0.7826 GB, free: 85.74 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003225/0.7843, allocations: 2.29 MB / 0.7849 GB, free: 84.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005723/0.79, allocations: 4.392 MB / 0.7891 GB, free: 82.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.639e-05/0.79, allocations: 3.969 kB / 0.7891 GB, free: 82.79 MB / 0.5606 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02074/0.8108, allocations: 9.023 MB / 0.798 GB, free: 80.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/0.8109, allocations: 9.656 kB / 0.798 GB, free: 80.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.987e-05/0.8109, allocations: 8.719 kB / 0.798 GB, free: 80.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01767/0.8286, allocations: 4.98 MB / 0.8028 GB, free: 78.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.8298, allocations: 191.9 kB / 0.803 GB, free: 78.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04944/0.8793, allocations: 35.15 MB / 0.8373 GB, free: 51.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002311/0.8816, allocations: 107.8 kB / 0.8374 GB, free: 51.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/0.8819, allocations: 64 kB / 0.8375 GB, free: 51.49 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.001334/0.8832, allocations: 0.794 MB / 0.8383 GB, free: 50.69 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003029/0.8835, allocations: 142.4 kB / 0.8384 GB, free: 50.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01775/0.9013, allocations: 8.894 MB / 0.8471 GB, free: 41.62 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.539e-05/0.9013, allocations: 23.59 kB / 0.8471 GB, free: 41.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.255e-05/0.9014, allocations: 36 kB / 0.8472 GB, free: 41.56 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.418e-05/0.9015, allocations: 10.75 kB / 0.8472 GB, free: 41.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02362/0.9251, allocations: 13.26 MB / 0.8601 GB, free: 28.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-05/0.9252, allocations: 7.984 kB / 0.8601 GB, free: 28.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004755/0.9256, allocations: 115.8 kB / 0.8602 GB, free: 28.06 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01525/0.9409, allocations: 4.749 MB / 0.8649 GB, free: 23.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003781/0.9413, allocations: 43.88 kB / 0.8649 GB, free: 23.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04311/0.9844, allocations: 31.46 MB / 0.8956 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.9845, allocations: 7.938 kB / 0.8957 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01924/1.004, allocations: 8.4 MB / 0.9039 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/1.005, allocations: 0.6124 MB / 0.9045 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002503/1.005, allocations: 35.94 kB / 0.9045 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/1.007, allocations: 91.88 kB / 0.9046 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008661/1.008, allocations: 169.6 kB / 0.9047 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001558/1.008, allocations: 48 kB / 0.9048 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001013/1.009, allocations: 0.7304 MB / 0.9055 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2e-07/1.009, allocations: 0 / 0.9055 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003151/1.012, allocations: 1.008 MB / 0.9065 GB, free: 12.12 MB / 0.5919 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.01923/1.031, allocations: 8.994 MB / 0.9153 GB, free: 3.027 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01013/1.041, allocations: 5.831 MB / 0.921 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.041, allocations: 0 / 0.921 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.007944/1.049, allocations: 3.797 MB / 0.9247 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/1.051, allocations: 234.2 kB / 0.9249 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06118/1.113, allocations: 32.5 MB / 0.9566 GB, free: 7.719 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001752/1.114, allocations: 1.863 MB / 0.9585 GB, free: 5.816 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008952/1.115, allocations: 348.4 kB / 0.9588 GB, free: 5.477 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007254/1.116, allocations: 0.6086 MB / 0.9594 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of SimCode: time 7.72e-07/1.116, allocations: 3.938 kB / 0.9594 GB, free: 4.867 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1027/1.219, allocations: 70.21 MB / 1.028 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002807/1.219, allocations: 274.4 kB / 1.028 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.599/3.818, allocations: 1.719 kB / 1.028 GB, free: 14.7 MB / 0.7169 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1)