Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.669/1.669, allocations: 287.4 MB / 302.6 MB, free: 8.289 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.001039/0.001039, allocations: 178.7 kB / 371.1 MB, free: 10.83 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.603/1.603, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007665/0.0007665, allocations: 99.53 kB / 0.7431 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004071/0.0004071, allocations: 11.89 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2175, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01195/0.2295, allocations: 14.52 MB / 0.9929 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.006231/0.2358, allocations: 4.624 MB / 0.9974 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008731/0.2367, allocations: 59.69 kB / 0.9975 GB, free: 8.805 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005384/0.2373, allocations: 250 kB / 0.9977 GB, free: 8.559 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.2384, allocations: 0.5714 MB / 0.9983 GB, free: 7.984 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.2397, allocations: 0.4922 MB / 0.9988 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003201/0.2429, allocations: 4.132 MB / 1.003 GB, free: 3.348 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007008/0.2499, allocations: 5.763 MB / 1.008 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002215/0.2521, allocations: 1.113 MB / 1.01 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002207/0.2544, allocations: 1.476 MB / 1.011 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003202/0.2547, allocations: 144 kB / 1.011 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.2559, allocations: 391.6 kB / 1.011 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.00122/0.2571, allocations: 1.072 MB / 1.013 GB, free: 9.309 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006396/0.2578, allocations: 492.5 kB / 1.013 GB, free: 8.82 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003935/0.2617, allocations: 4.262 MB / 1.017 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2618, allocations: 3.938 kB / 1.017 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2618, allocations: 0 / 1.017 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.468e-05/0.2619, allocations: 0 / 1.017 GB, free: 4.543 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.004037/0.2659, allocations: 2.171 MB / 1.019 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.266, allocations: 15.97 kB / 1.019 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004939/0.2665, allocations: 370.5 kB / 1.02 GB, free: 1.926 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003709/0.2702, allocations: 0.8368 MB / 1.02 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002537/0.2727, allocations: 1.505 MB / 1.022 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.2729, allocations: 185.1 kB / 1.022 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003767/0.2733, allocations: 228.4 kB / 1.022 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006789/0.2801, allocations: 4.142 MB / 1.026 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.401e-05/0.2802, allocations: 7.938 kB / 1.026 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002465/0.2804, allocations: 104 kB / 1.026 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00019/0.2806, allocations: 172.5 kB / 1.027 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005954/0.2866, allocations: 3.621 MB / 1.03 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01851/0.3051, allocations: 16.55 MB / 1.046 GB, free: 4.953 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00334/0.3085, allocations: 2.294 MB / 1.049 GB, free: 2.457 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008541/0.3094, allocations: 0.5896 MB / 1.049 GB, free: 1.859 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/0.3095, allocations: 97.66 kB / 1.049 GB, free: 1.742 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.3096, allocations: 35.12 kB / 1.049 GB, free: 1.699 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=72): time 3.176e-06/0.3096, allocations: 7.938 kB / 1.049 GB, free: 1.691 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76): time 0.005537/0.3151, allocations: 3.452 MB / 1.053 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.3152, allocations: 111.5 kB / 1.053 GB, free: 14 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.3167, allocations: 1.006 MB / 1.054 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/0.3168, allocations: 37.7 kB / 1.054 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007194/0.3175, allocations: 1.103 MB / 1.055 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/0.3177, allocations: 280.1 kB / 1.055 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.926e-05/0.3178, allocations: 28 kB / 1.055 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.318, allocations: 414.7 kB / 1.056 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009861/0.319, allocations: 0.6207 MB / 1.056 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.3204, allocations: 1.189 MB / 1.057 GB, free: 9.02 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002399/0.3228, allocations: 1.86 MB / 1.059 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.797e-05/0.3228, allocations: 8 kB / 1.059 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003321/0.3262, allocations: 2.014 MB / 1.061 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.3262, allocations: 12.62 kB / 1.061 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.272e-05/0.3262, allocations: 24 kB / 1.061 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000431/0.3267, allocations: 159.3 kB / 1.061 GB, free: 4.648 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.3278, allocations: 347.4 kB / 1.062 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.014e-05/0.3278, allocations: 39.86 kB / 1.062 GB, free: 4.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.3289, allocations: 135.7 kB / 1.062 GB, free: 4.137 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.3291, allocations: 71.98 kB / 1.062 GB, free: 4.066 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.001682/0.3308, allocations: 0.9771 MB / 1.063 GB, free: 3.078 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/0.331, allocations: 118.6 kB / 1.063 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002001/0.333, allocations: 1.234 MB / 1.064 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.3331, allocations: 8 kB / 1.064 GB, free: 1.695 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.3331, allocations: 8 kB / 1.064 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.3331, allocations: 3.984 kB / 1.064 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4463/0.7794, allocations: 3.8 MB / 1.068 GB, free: 83.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.7794, allocations: 2.5 kB / 1.068 GB, free: 83.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006714/0.7801, allocations: 164.3 kB / 1.068 GB, free: 83.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003746/0.7805, allocations: 137.7 kB / 1.068 GB, free: 83.72 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.667e-05/0.7806, allocations: 20.47 kB / 1.068 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.928e-06/0.7806, allocations: 10.05 kB / 1.068 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.7806, allocations: 2.25 kB / 1.068 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002105/0.7827, allocations: 1.476 MB / 1.07 GB, free: 83 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005086/0.7832, allocations: 292.6 kB / 1.07 GB, free: 82.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.7833, allocations: 22.08 kB / 1.07 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006051/0.784, allocations: 73.45 kB / 1.07 GB, free: 82.83 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.7841, allocations: 58.55 kB / 1.07 GB, free: 82.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-05/0.7842, allocations: 24.2 kB / 1.07 GB, free: 82.82 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00104/0.7852, allocations: 0.6891 MB / 1.071 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7853, allocations: 0.9688 kB / 1.071 GB, free: 82.54 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00146/0.7867, allocations: 388.1 kB / 1.071 GB, free: 82.5 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.002228/0.789, allocations: 2.041 MB / 1.073 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002638/0.7916, allocations: 1.713 MB / 1.075 GB, free: 80.38 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.7916, allocations: 0 / 1.075 GB, free: 80.38 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.7927, allocations: 0.8682 MB / 1.076 GB, free: 79.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.7943, allocations: 246.8 kB / 1.076 GB, free: 79.73 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.017/0.8114, allocations: 9.734 MB / 1.085 GB, free: 74.49 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002102/0.8135, allocations: 1.918 MB / 1.087 GB, free: 73.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001516/0.815, allocations: 451.3 kB / 1.088 GB, free: 73.47 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007596/0.8158, allocations: 0.7079 MB / 1.088 GB, free: 72.88 MB / 0.6823 GB Notification: Performance of SimCode: time 1.593e-06/0.8158, allocations: 0 / 1.088 GB, free: 72.88 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1954/1.011, allocations: 26.97 MB / 1.115 GB, free: 64.11 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/1.011, allocations: 241.4 kB / 1.115 GB, free: 63.86 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.564/3.575, allocations: 3.094 kB / 1.115 GB, free: 63.86 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)