Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.92/1.92, allocations: 288.4 MB / 303.3 MB, free: 8.051 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 179.2 kB / 372 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.4 MB / 0.6307 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007219/0.0007219, allocations: 90.36 kB / 0.744 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004069/0.0004072, allocations: 19.39 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2103, allocations: 115.3 MB / 0.9797 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01156/0.2219, allocations: 14.51 MB / 0.9938 GB, free: 13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005919/0.2279, allocations: 4.628 MB / 0.9984 GB, free: 8.359 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009921/0.2289, allocations: 63.62 kB / 0.9984 GB, free: 8.297 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005326/0.2295, allocations: 246.1 kB / 0.9986 GB, free: 8.055 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.2308, allocations: 0.5792 MB / 0.9992 GB, free: 7.473 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.2321, allocations: 0.4948 MB / 0.9997 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00286/0.2349, allocations: 4.105 MB / 1.004 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006224/0.2412, allocations: 4.945 MB / 1.009 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.2432, allocations: 1.109 MB / 1.01 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/0.2452, allocations: 1.468 MB / 1.011 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002962/0.2456, allocations: 144 kB / 1.011 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/0.2467, allocations: 391.6 kB / 1.012 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.00114/0.2479, allocations: 1.076 MB / 1.013 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005878/0.2485, allocations: 492.5 kB / 1.013 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003992/0.2525, allocations: 4.27 MB / 1.017 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.2525, allocations: 0 / 1.017 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2525, allocations: 0 / 1.017 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001325/0.2527, allocations: 0 / 1.017 GB, free: 4.91 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.004376/0.257, allocations: 2.198 MB / 1.019 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.2571, allocations: 11.97 kB / 1.019 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001061/0.2582, allocations: 370.3 kB / 1.02 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004787/0.263, allocations: 0.8397 MB / 1.021 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003543/0.2665, allocations: 1.473 MB / 1.022 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.2667, allocations: 180.8 kB / 1.022 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004849/0.2672, allocations: 236 kB / 1.022 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01033/0.2775, allocations: 4.138 MB / 1.026 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.514e-05/0.2777, allocations: 7.938 kB / 1.026 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004384/0.2781, allocations: 107.9 kB / 1.027 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002972/0.2784, allocations: 172.5 kB / 1.027 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/0.2893, allocations: 3.628 MB / 1.03 GB, free: 7.289 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02654/0.3159, allocations: 16.53 MB / 1.046 GB, free: 5.332 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003555/0.3195, allocations: 2.296 MB / 1.049 GB, free: 2.828 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009048/0.3204, allocations: 0.5857 MB / 1.049 GB, free: 2.234 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001548/0.3206, allocations: 97.66 kB / 1.049 GB, free: 2.121 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/0.3207, allocations: 47.06 kB / 1.049 GB, free: 2.066 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=72): time 2.836e-06/0.3207, allocations: 0 / 1.049 GB, free: 2.066 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76): time 0.006866/0.3275, allocations: 3.44 MB / 1.053 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.484e-05/0.3277, allocations: 111.5 kB / 1.053 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.3293, allocations: 1.01 MB / 1.054 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.627e-05/0.3294, allocations: 41.7 kB / 1.054 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008668/0.3303, allocations: 1.099 MB / 1.055 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000282/0.3306, allocations: 276.1 kB / 1.055 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.093e-05/0.3307, allocations: 28 kB / 1.055 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002128/0.3309, allocations: 418.7 kB / 1.056 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.3319, allocations: 0.6167 MB / 1.056 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.3334, allocations: 1.185 MB / 1.057 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.3348, allocations: 0.8579 MB / 1.058 GB, free: 8.543 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-05/0.3348, allocations: 8 kB / 1.058 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003581/0.3384, allocations: 2.01 MB / 1.06 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/0.3384, allocations: 12 kB / 1.06 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.733e-05/0.3385, allocations: 20 kB / 1.06 GB, free: 6.473 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005449/0.339, allocations: 175.9 kB / 1.06 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.3403, allocations: 343.4 kB / 1.061 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.135e-05/0.3403, allocations: 43.8 kB / 1.061 GB, free: 5.91 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.3416, allocations: 139.7 kB / 1.061 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.3417, allocations: 64 kB / 1.061 GB, free: 5.711 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001909/0.3437, allocations: 0.9732 MB / 1.062 GB, free: 4.727 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003201/0.344, allocations: 118.8 kB / 1.062 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/0.3464, allocations: 1.241 MB / 1.063 GB, free: 3.348 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.3464, allocations: 11.95 kB / 1.063 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.3464, allocations: 0 / 1.063 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.3465, allocations: 7.984 kB / 1.063 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.452/0.7984, allocations: 3.804 MB / 1.067 GB, free: 83.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.456e-05/0.7985, allocations: 6.938 kB / 1.067 GB, free: 83.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000712/0.7992, allocations: 160.6 kB / 1.067 GB, free: 83.58 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004075/0.7996, allocations: 139.3 kB / 1.067 GB, free: 83.55 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.077e-05/0.7997, allocations: 19.69 kB / 1.067 GB, free: 83.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.575e-05/0.7997, allocations: 5.969 kB / 1.067 GB, free: 83.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.7997, allocations: 9.641 kB / 1.067 GB, free: 83.55 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/0.802, allocations: 1.467 MB / 1.069 GB, free: 83.18 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005289/0.8025, allocations: 291.5 kB / 1.069 GB, free: 83.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.8027, allocations: 15.2 kB / 1.069 GB, free: 83.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005993/0.8033, allocations: 82.27 kB / 1.069 GB, free: 83.08 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.8034, allocations: 57.19 kB / 1.069 GB, free: 83.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.73e-05/0.8035, allocations: 21.77 kB / 1.069 GB, free: 83.08 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001033/0.8045, allocations: 0.689 MB / 1.07 GB, free: 82.83 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8045, allocations: 0 / 1.07 GB, free: 82.83 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001618/0.8062, allocations: 392 kB / 1.07 GB, free: 82.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002634/0.8088, allocations: 2.043 MB / 1.072 GB, free: 81.52 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003009/0.8118, allocations: 1.71 MB / 1.074 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.8118, allocations: 1.031 kB / 1.074 GB, free: 80.68 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.8129, allocations: 0.8629 MB / 1.075 GB, free: 80.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.8146, allocations: 249.3 kB / 1.075 GB, free: 80.03 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/0.8324, allocations: 9.736 MB / 1.084 GB, free: 74.77 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002365/0.8348, allocations: 1.915 MB / 1.086 GB, free: 73.79 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001528/0.8364, allocations: 457.6 kB / 1.087 GB, free: 73.75 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008252/0.8372, allocations: 0.7139 MB / 1.087 GB, free: 73.16 MB / 0.6823 GB Notification: Performance of SimCode: time 9.11e-07/0.8372, allocations: 0 / 1.087 GB, free: 73.16 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05728/0.8945, allocations: 26.99 MB / 1.114 GB, free: 63.95 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/0.8947, allocations: 239.9 kB / 1.114 GB, free: 63.71 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.606/3.501, allocations: 3.938 kB / 1.114 GB, free: 63.71 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)