Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.372/1.372, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009431/0.0009431, allocations: 169.3 kB / 325.8 MB, free: 2.707 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205 MB / 0.576 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006501/0.0006502, allocations: 89.48 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003539/0.0003539, allocations: 11.94 kB / 0.7933 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1733, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.02521/0.1985, allocations: 34.37 MB / 0.9298 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01302/0.2116, allocations: 9.973 MB / 0.9395 GB, free: 23.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003092/0.2147, allocations: 131.3 kB / 0.9396 GB, free: 23.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.007155/0.2219, allocations: 3.538 MB / 0.9431 GB, free: 19.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004567/0.2264, allocations: 1.913 MB / 0.945 GB, free: 17.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004036/0.2305, allocations: 1.781 MB / 0.9467 GB, free: 16.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.008329/0.2388, allocations: 11.19 MB / 0.9576 GB, free: 4.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0133/0.2522, allocations: 10.66 MB / 0.968 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004566/0.2567, allocations: 2.478 MB / 0.9705 GB, free: 7.727 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005172/0.2619, allocations: 3.211 MB / 0.9736 GB, free: 4.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.001316/0.2633, allocations: 280 kB / 0.9739 GB, free: 4.227 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003447/0.2667, allocations: 1.271 MB / 0.9751 GB, free: 2.953 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.00314/0.2699, allocations: 2.1 MB / 0.9772 GB, free: 0.8477 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.004976/0.2749, allocations: 2.503 MB / 0.9796 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01101/0.2859, allocations: 9.866 MB / 0.9892 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.2859, allocations: 0 / 0.9892 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2859, allocations: 0 / 0.9892 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0003689/0.2863, allocations: 0 / 0.9892 GB, free: 4.434 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.009889/0.2962, allocations: 4.363 MB / 0.9935 GB, free: 0 / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.071e-05/0.2963, allocations: 8.078 kB / 0.9935 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001948/0.2982, allocations: 0.6984 MB / 0.9942 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004984/0.3032, allocations: 0.9626 MB / 0.9951 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005651/0.3089, allocations: 2.999 MB / 0.9981 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002982/0.3092, allocations: 349.9 kB / 0.9984 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0012/0.3104, allocations: 476.2 kB / 0.9988 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01258/0.323, allocations: 7.91 MB / 1.007 GB, free: 2.18 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-05/0.3231, allocations: 19.81 kB / 1.007 GB, free: 2.16 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000411/0.3235, allocations: 212 kB / 1.007 GB, free: 1.953 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004298/0.324, allocations: 365.1 kB / 1.007 GB, free: 1.594 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008903/0.3329, allocations: 5.937 MB / 1.013 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03375/0.3667, allocations: 36.26 MB / 1.048 GB, free: 4.145 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002776/0.3695, allocations: 2.135 MB / 1.05 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.3711, allocations: 1.484 MB / 1.052 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.42e-05/0.3712, allocations: 17.31 kB / 1.052 GB, free: 0.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.3712, allocations: 59.81 kB / 1.052 GB, free: 444 kB / 0.698 GB Notification: Performance of pre-optimization done (n=157): time 2.975e-06/0.3712, allocations: 0 / 1.052 GB, free: 444 kB / 0.698 GB Notification: Performance of matching and sorting (n=160): time 0.3415/0.7127, allocations: 7.569 MB / 1.059 GB, free: 140.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.7128, allocations: 69.2 kB / 1.059 GB, free: 140.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00234/0.7151, allocations: 1.863 MB / 1.061 GB, free: 139.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.023e-05/0.7152, allocations: 52.89 kB / 1.061 GB, free: 139.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001117/0.7164, allocations: 2.127 MB / 1.063 GB, free: 138.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003346/0.7167, allocations: 0.5595 MB / 1.064 GB, free: 138.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/0.7169, allocations: 173 kB / 1.064 GB, free: 138.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 3.231e-05/0.717, allocations: 302.5 kB / 1.064 GB, free: 138 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.7186, allocations: 1.06 MB / 1.065 GB, free: 138 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001758/0.7203, allocations: 1.764 MB / 1.067 GB, free: 137.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003216/0.7236, allocations: 3.054 MB / 1.07 GB, free: 135.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/0.7236, allocations: 10.62 kB / 1.07 GB, free: 135.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00553/0.7291, allocations: 3.917 MB / 1.074 GB, free: 133.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.7292, allocations: 16.52 kB / 1.074 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.7292, allocations: 23.75 kB / 1.074 GB, free: 133.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002003/0.7312, allocations: 0.9292 MB / 1.075 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.7325, allocations: 427.5 kB / 1.075 GB, free: 133.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01367/0.7462, allocations: 21.08 MB / 1.096 GB, free: 115.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.7476, allocations: 131.2 kB / 1.096 GB, free: 115.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001625/0.7478, allocations: 94.78 kB / 1.096 GB, free: 115.1 MB / 0.698 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002261/0.7501, allocations: 1.639 MB / 1.098 GB, free: 114.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004637/0.7506, allocations: 264.6 kB / 1.098 GB, free: 114.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004701/0.7553, allocations: 3.258 MB / 1.101 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.7553, allocations: 18.73 kB / 1.101 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-05/0.7553, allocations: 13.72 kB / 1.101 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.7553, allocations: 15.91 kB / 1.101 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01029/0.7656, allocations: 7.543 MB / 1.109 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.7657, allocations: 5.25 kB / 1.109 GB, free: 108.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007688/0.7664, allocations: 219.2 kB / 1.109 GB, free: 108.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001878/0.7683, allocations: 0.894 MB / 1.11 GB, free: 107.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.424e-05/0.7684, allocations: 28 kB / 1.11 GB, free: 107.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0124/0.7808, allocations: 21.04 MB / 1.13 GB, free: 84.63 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.7809, allocations: 12 kB / 1.13 GB, free: 84.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003956/0.7848, allocations: 3.375 MB / 1.133 GB, free: 81.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008323/0.7857, allocations: 0.5254 MB / 1.134 GB, free: 80.58 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003433/0.786, allocations: 35.98 kB / 1.134 GB, free: 80.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009548/0.787, allocations: 99.83 kB / 1.134 GB, free: 80.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/0.7872, allocations: 136 kB / 1.134 GB, free: 80.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.593e-05/0.7873, allocations: 47.98 kB / 1.134 GB, free: 80.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00124/0.7886, allocations: 1.229 MB / 1.136 GB, free: 79.03 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7886, allocations: 0 / 1.136 GB, free: 79.03 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00222/0.7908, allocations: 0.9023 MB / 1.136 GB, free: 78.12 MB / 0.698 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004056/0.7949, allocations: 3.987 MB / 1.14 GB, free: 74.01 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004677/0.7996, allocations: 4.432 MB / 1.145 GB, free: 69.44 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.7996, allocations: 0 / 1.145 GB, free: 69.44 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002886/0.8025, allocations: 2.998 MB / 1.148 GB, free: 66.29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003859/0.8064, allocations: 0.7658 MB / 1.148 GB, free: 65.53 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03519/0.8415, allocations: 29.5 MB / 1.177 GB, free: 33.74 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003263/0.8449, allocations: 3.215 MB / 1.18 GB, free: 30.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001581/0.8464, allocations: 0.5176 MB / 1.181 GB, free: 29.97 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/0.8479, allocations: 1.651 MB / 1.182 GB, free: 28.32 MB / 0.698 GB Notification: Performance of SimCode: time 9.02e-07/0.8479, allocations: 11.94 kB / 1.182 GB, free: 28.31 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.458/1.306, allocations: 68.31 MB / 1.249 GB, free: 8.734 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/1.306, allocations: 253.9 kB / 1.249 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.664/4.97, allocations: 7.375 kB / 1.249 GB, free: 8.477 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)