Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.Loads.Examples.Loads_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",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.259/1.259, allocations: 251.5 MB / 266.7 MB, free: 11.06 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.0008872/0.0008873, allocations: 185.2 kB / 325.8 MB, free: 2.703 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.471/1.471, allocations: 205 MB / 0.576 GB, free: 20.96 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.0007607/0.0007607, allocations: 84 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003303, allocations: 11.75 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1602, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.01448/0.1747, allocations: 19.95 MB / 0.9157 GB, free: 48.07 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008212/0.1829, allocations: 7.608 MB / 0.9231 GB, free: 40.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.1841, allocations: 51.81 kB / 0.9232 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002422/0.1866, allocations: 1.253 MB / 0.9244 GB, free: 39.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001652/0.1882, allocations: 0.9225 MB / 0.9253 GB, free: 38.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003177/0.1914, allocations: 1.832 MB / 0.9271 GB, free: 36.38 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003644/0.1951, allocations: 6.449 MB / 0.9334 GB, free: 29.91 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006221/0.2013, allocations: 6.827 MB / 0.94 GB, free: 23.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.2029, allocations: 1.292 MB / 0.9413 GB, free: 21.72 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001621/0.2046, allocations: 1.877 MB / 0.9431 GB, free: 19.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002406/0.2048, allocations: 176 kB / 0.9433 GB, free: 19.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.2059, allocations: 0.8228 MB / 0.9441 GB, free: 18.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0007387/0.2067, allocations: 1.348 MB / 0.9454 GB, free: 17.49 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00085/0.2075, allocations: 1.357 MB / 0.9468 GB, free: 16.13 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.002886/0.2104, allocations: 5.856 MB / 0.9525 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2104, allocations: 4 kB / 0.9525 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2105, allocations: 0 / 0.9525 GB, free: 10.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.674e-05/0.2105, allocations: 0 / 0.9525 GB, free: 10.25 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.003268/0.2138, allocations: 2.443 MB / 0.9549 GB, free: 7.746 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.2138, allocations: 12.03 kB / 0.9549 GB, free: 7.734 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000405/0.2142, allocations: 446 kB / 0.9553 GB, free: 7.289 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002232/0.2165, allocations: 0.6883 MB / 0.956 GB, free: 6.598 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/0.2183, allocations: 1.536 MB / 0.9575 GB, free: 5.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.741e-05/0.2184, allocations: 214.2 kB / 0.9577 GB, free: 4.809 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000306/0.2187, allocations: 288.3 kB / 0.9579 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005539/0.2243, allocations: 5.051 MB / 0.9629 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.69e-05/0.2244, allocations: 15.84 kB / 0.9629 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002614/0.2246, allocations: 128 kB / 0.963 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001972/0.2248, allocations: 212.6 kB / 0.9632 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005646/0.2305, allocations: 4.177 MB / 0.9673 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02054/0.251, allocations: 23.02 MB / 0.9898 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002425/0.2535, allocations: 1.719 MB / 0.9915 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/0.2548, allocations: 1.137 MB / 0.9926 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000148/0.255, allocations: 97.73 kB / 0.9927 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.255, allocations: 55.16 kB / 0.9927 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=84): time 2.835e-06/0.255, allocations: 0 / 0.9927 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=87): time 0.005018/0.2601, allocations: 4.001 MB / 0.9966 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.2601, allocations: 141.1 kB / 0.9968 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008628/0.261, allocations: 0.8487 MB / 0.9976 GB, free: 9.441 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.652e-05/0.2611, allocations: 41.69 kB / 0.9976 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005831/0.2617, allocations: 1.162 MB / 0.9988 GB, free: 8.215 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/0.2619, allocations: 307.7 kB / 0.9991 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.262, allocations: 105.7 kB / 0.9992 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.2622, allocations: 410.7 kB / 0.9995 GB, free: 7.391 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.2632, allocations: 0.7989 MB / 1 GB, free: 6.59 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.2645, allocations: 1.295 MB / 1.002 GB, free: 5.074 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002378/0.2669, allocations: 2.151 MB / 1.004 GB, free: 2.727 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.2669, allocations: 4 kB / 1.004 GB, free: 2.723 MB / 0.6511 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002845/0.2698, allocations: 2.183 MB / 1.006 GB, free: 0.5352 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002809/0.2701, allocations: 0.499 MB / 1.006 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.2701, allocations: 16 kB / 1.006 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.568e-05/0.2701, allocations: 24 kB / 1.006 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.2715, allocations: 411.4 kB / 1.007 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.449e-05/0.2715, allocations: 39.78 kB / 1.007 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009286/0.2725, allocations: 203.2 kB / 1.007 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.2726, allocations: 63.98 kB / 1.007 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.46e-06/0.2726, allocations: 4 kB / 1.007 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002218/0.2748, allocations: 1.769 MB / 1.009 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.2748, allocations: 16 kB / 1.009 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.2749, allocations: 20 kB / 1.009 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.2759, allocations: 359.4 kB / 1.009 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.059e-05/0.276, allocations: 31.92 kB / 1.009 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006807/0.2766, allocations: 147.3 kB / 1.009 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.84e-05/0.2767, allocations: 63.98 kB / 1.009 GB, free: 12.7 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00145/0.2782, allocations: 1.179 MB / 1.011 GB, free: 11.51 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.2784, allocations: 98.78 kB / 1.011 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002395/0.2808, allocations: 1.846 MB / 1.012 GB, free: 9.547 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.2808, allocations: 8 kB / 1.012 GB, free: 9.539 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.2808, allocations: 4 kB / 1.012 GB, free: 9.535 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.2808, allocations: 7.969 kB / 1.012 GB, free: 9.527 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/0.2916, allocations: 9.58 MB / 1.022 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.2916, allocations: 12 kB / 1.022 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.2927, allocations: 323.4 kB / 1.022 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.424e-05/0.2927, allocations: 16 kB / 1.022 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-05/0.2928, allocations: 24 kB / 1.022 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-05/0.2928, allocations: 27.92 kB / 1.022 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/0.2928, allocations: 19.88 kB / 1.022 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/0.2953, allocations: 2.413 MB / 1.025 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005004/0.2958, allocations: 371.6 kB / 1.025 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.2959, allocations: 31.98 kB / 1.025 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000797/0.2967, allocations: 139.8 kB / 1.025 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001702/0.2969, allocations: 99.53 kB / 1.025 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.539e-05/0.297, allocations: 36 kB / 1.025 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006508/0.2977, allocations: 0.5888 MB / 1.026 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.844e-06/0.2977, allocations: 0 / 1.026 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002012/0.2997, allocations: 0.7499 MB / 1.027 GB, free: 10.69 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00255/0.3022, allocations: 2.997 MB / 1.029 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003495/0.3057, allocations: 2.838 MB / 1.032 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.3058, allocations: 4 kB / 1.032 GB, free: 4.684 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.3069, allocations: 0.9132 MB / 1.033 GB, free: 3.773 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/0.3095, allocations: 295.4 kB / 1.033 GB, free: 3.488 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01976/0.3293, allocations: 16.74 MB / 1.05 GB, free: 1.848 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2929/0.6222, allocations: 2.127 MB / 1.052 GB, free: 145.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001773/0.624, allocations: 0.7314 MB / 1.053 GB, free: 145.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009676/0.625, allocations: 0.829 MB / 1.053 GB, free: 145.5 MB / 0.698 GB Notification: Performance of SimCode: time 7.81e-07/0.625, allocations: 0 / 1.053 GB, free: 145.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4714/1.096, allocations: 30.41 MB / 1.083 GB, free: 134.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002092/1.097, allocations: 238 kB / 1.083 GB, free: 134.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.695/3.791, allocations: 0 / 1.083 GB, free: 134.2 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)