Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.001278/0.001278, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00121/0.00121, allocations: 190.1 kB / 16.25 MB, free: 6.625 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.265/1.265, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002033/0.002033, allocations: 286.8 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.028/1.028, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001825, allocations: 90.62 kB / 0.5948 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1708, allocations: 86.99 MB / 0.6798 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01402/0.1849, allocations: 9.962 MB / 0.6895 GB, free: 6.977 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005112/0.19, allocations: 3.018 MB / 0.6924 GB, free: 3.953 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008722/0.1909, allocations: 35.81 kB / 0.6925 GB, free: 3.918 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002207/0.1932, allocations: 0.6381 MB / 0.6931 GB, free: 3.277 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001642/0.1948, allocations: 0.6381 MB / 0.6937 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.1963, allocations: 0.5917 MB / 0.6943 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002882/0.1992, allocations: 2.738 MB / 0.697 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004294/0.2035, allocations: 3.058 MB / 0.6999 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001714/0.2052, allocations: 1.145 MB / 0.7011 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0021/0.2073, allocations: 1.472 MB / 0.7025 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006428/0.208, allocations: 216 kB / 0.7027 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.2093, allocations: 491.4 kB / 0.7032 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001446/0.2108, allocations: 0.9863 MB / 0.7041 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002076/0.2129, allocations: 1.011 MB / 0.7051 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003829/0.2167, allocations: 3.412 MB / 0.7085 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2168, allocations: 0 / 0.7085 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2168, allocations: 4 kB / 0.7085 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.387e-05/0.2169, allocations: 0 / 0.7085 GB, free: 3.457 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.004013/0.2209, allocations: 1.936 MB / 0.7104 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.2209, allocations: 12.03 kB / 0.7104 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002891/0.2212, allocations: 252.7 kB / 0.7106 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005324/0.2266, allocations: 0.8844 MB / 0.7115 GB, free: 316 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001804/0.2284, allocations: 1.118 MB / 0.7126 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.961e-05/0.2285, allocations: 111.3 kB / 0.7127 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000247/0.2287, allocations: 144.4 kB / 0.7128 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00433/0.2331, allocations: 3.029 MB / 0.7158 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/0.2331, allocations: 0 / 0.7158 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/0.2333, allocations: 59.98 kB / 0.7158 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000209/0.2335, allocations: 182.9 kB / 0.716 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003742/0.2373, allocations: 2.604 MB / 0.7185 GB, free: 8.926 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01562/0.2529, allocations: 13.57 MB / 0.7318 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/0.2547, allocations: 1.287 MB / 0.733 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.2561, allocations: 1.05 MB / 0.7341 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.698e-05/0.2562, allocations: 8.656 kB / 0.7341 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.2562, allocations: 51.16 kB / 0.7341 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=82): time 3.366e-06/0.2562, allocations: 0 / 0.7341 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of matching and sorting (n=139): time 0.06807/0.3243, allocations: 19.37 MB / 0.753 GB, free: 4.316 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.3244, allocations: 68.72 kB / 0.7531 GB, free: 4.234 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.3258, allocations: 0.9183 MB / 0.754 GB, free: 3.305 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002013/0.326, allocations: 49.7 kB / 0.7541 GB, free: 3.25 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004714/0.3265, allocations: 0.7283 MB / 0.7548 GB, free: 2.508 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004868/0.327, allocations: 492.9 kB / 0.7552 GB, free: 2.02 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006144/0.3276, allocations: 295.4 kB / 0.7555 GB, free: 1.723 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.3278, allocations: 349.9 kB / 0.7559 GB, free: 1.375 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00197/0.3297, allocations: 1.335 MB / 0.7572 GB, free: 40 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00217/0.3319, allocations: 1.659 MB / 0.7588 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003999/0.3359, allocations: 3.086 MB / 0.7618 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.473e-05/0.336, allocations: 4 kB / 0.7618 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.0113/0.3473, allocations: 5.638 MB / 0.7673 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.3473, allocations: 11.94 kB / 0.7673 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.042e-05/0.3474, allocations: 12 kB / 0.7673 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008431/0.3558, allocations: 2.742 MB / 0.77 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000821/0.3567, allocations: 195.6 kB / 0.7702 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4368/0.7935, allocations: 25.71 MB / 0.7953 GB, free: 78.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.7952, allocations: 96.27 kB / 0.7954 GB, free: 78.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003506/0.7955, allocations: 56.56 kB / 0.7954 GB, free: 78.21 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001303/0.7969, allocations: 0.7343 MB / 0.7962 GB, free: 77.88 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002984/0.7972, allocations: 111.2 kB / 0.7963 GB, free: 77.82 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/0.8082, allocations: 5.401 MB / 0.8015 GB, free: 76.08 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/0.8083, allocations: 16.95 kB / 0.8016 GB, free: 76.08 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.696e-05/0.8083, allocations: 22.5 kB / 0.8016 GB, free: 76.07 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.388e-05/0.8084, allocations: 7.609 kB / 0.8016 GB, free: 76.07 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01512/0.8235, allocations: 8.646 MB / 0.81 GB, free: 71.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-05/0.8235, allocations: 7.828 kB / 0.81 GB, free: 71.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004794/0.824, allocations: 114.4 kB / 0.8101 GB, free: 71.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007484/0.8315, allocations: 2.568 MB / 0.8127 GB, free: 70.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002104/0.8318, allocations: 27.78 kB / 0.8127 GB, free: 70.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02736/0.8591, allocations: 23 MB / 0.8351 GB, free: 50.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.8592, allocations: 7.938 kB / 0.8352 GB, free: 50.26 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009074/0.8683, allocations: 5.123 MB / 0.8402 GB, free: 45.05 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009169/0.8692, allocations: 479.5 kB / 0.8406 GB, free: 44.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002014/0.8694, allocations: 27.94 kB / 0.8406 GB, free: 44.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008201/0.8702, allocations: 83.89 kB / 0.8407 GB, free: 44.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005656/0.8708, allocations: 117.1 kB / 0.8408 GB, free: 44.34 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.531e-05/0.8709, allocations: 39.94 kB / 0.8409 GB, free: 44.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006822/0.8716, allocations: 0.6473 MB / 0.8415 GB, free: 43.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8716, allocations: 0 / 0.8415 GB, free: 43.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002438/0.8741, allocations: 0.7188 MB / 0.8422 GB, free: 42.94 MB / 0.5606 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 (62): * Single equations (assignments): 58 * 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,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009057/0.8831, allocations: 5.705 MB / 0.8478 GB, free: 37.14 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007085/0.8903, allocations: 4.733 MB / 0.8524 GB, free: 32.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/0.8903, allocations: 4.188 kB / 0.8524 GB, free: 32.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004296/0.8946, allocations: 2.676 MB / 0.855 GB, free: 29.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.896, allocations: 218.7 kB / 0.8552 GB, free: 29.46 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03305/0.9291, allocations: 22.55 MB / 0.8772 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/0.9303, allocations: 1.704 MB / 0.8789 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007273/0.931, allocations: 323.6 kB / 0.8792 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005065/0.9315, allocations: 0.5344 MB / 0.8797 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of SimCode: time 7.01e-07/0.9315, allocations: 0 / 0.8797 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0908/1.022, allocations: 51.82 MB / 0.9303 GB, free: 420 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/1.023, allocations: 270.5 kB / 0.9306 GB, free: 52 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.467/3.49, allocations: 2.5 kB / 0.9306 GB, free: 52 kB / 0.6075 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)