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.Impedances.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.Impedances,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.436/1.436, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001118/0.001118, allocations: 188.4 kB / 326.5 MB, free: 2.215 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.839/1.839, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.00099/0.0009897, allocations: 97.98 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.0004449, allocations: 11.91 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2709, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01695/0.2879, allocations: 14.09 MB / 0.9139 GB, free: 49.69 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008741/0.2967, allocations: 4.601 MB / 0.9184 GB, free: 45.07 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001471/0.2982, allocations: 55.62 kB / 0.9185 GB, free: 45.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000907/0.2991, allocations: 278.2 kB / 0.9187 GB, free: 44.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002484/0.3016, allocations: 0.6426 MB / 0.9194 GB, free: 44.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.3037, allocations: 0.5791 MB / 0.9199 GB, free: 43.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002711/0.3064, allocations: 1.64 MB / 0.9215 GB, free: 41.88 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008453/0.3149, allocations: 4.934 MB / 0.9263 GB, free: 36.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.317, allocations: 0.95 MB / 0.9273 GB, free: 35.94 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002215/0.3193, allocations: 1.004 MB / 0.9283 GB, free: 34.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003944/0.3197, allocations: 143.9 kB / 0.9284 GB, free: 34.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.3209, allocations: 343.7 kB / 0.9287 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001055/0.322, allocations: 0.9901 MB / 0.9297 GB, free: 33.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0006282/0.3226, allocations: 488.5 kB / 0.9302 GB, free: 32.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004188/0.3268, allocations: 4.208 MB / 0.9343 GB, free: 28.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3268, allocations: 0 / 0.9343 GB, free: 28.76 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.324e-06/0.3269, allocations: 4 kB / 0.9343 GB, free: 28.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001102/0.327, allocations: 0 / 0.9343 GB, free: 28.75 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005857/0.3328, allocations: 2.186 MB / 0.9364 GB, free: 26.51 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.3329, allocations: 8.031 kB / 0.9364 GB, free: 26.5 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001017/0.3339, allocations: 378.2 kB / 0.9368 GB, free: 26.12 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00665/0.3406, allocations: 0.871 MB / 0.9376 GB, free: 25.25 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004579/0.3452, allocations: 1.469 MB / 0.9391 GB, free: 23.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/0.3455, allocations: 176.8 kB / 0.9392 GB, free: 23.55 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007812/0.3463, allocations: 231.9 kB / 0.9394 GB, free: 23.33 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009598/0.3559, allocations: 4.138 MB / 0.9435 GB, free: 19.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.36e-05/0.356, allocations: 7.922 kB / 0.9435 GB, free: 19.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003776/0.3564, allocations: 99.98 kB / 0.9436 GB, free: 18.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002499/0.3566, allocations: 172.5 kB / 0.9438 GB, free: 18.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008954/0.3656, allocations: 3.621 MB / 0.9473 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02576/0.3914, allocations: 16.54 MB / 0.9634 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005357/0.3968, allocations: 2.297 MB / 0.9657 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002082/0.3971, allocations: 97.66 kB / 0.9658 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.3972, allocations: 43.06 kB / 0.9658 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=72): time 4.418e-06/0.3972, allocations: 0 / 0.9658 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76): time 0.008368/0.4055, allocations: 3.45 MB / 0.9692 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/0.4057, allocations: 115.5 kB / 0.9693 GB, free: 6.809 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001933/0.4076, allocations: 1.018 MB / 0.9703 GB, free: 5.766 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.551e-05/0.4077, allocations: 45.64 kB / 0.9703 GB, free: 5.715 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.4088, allocations: 1.099 MB / 0.9714 GB, free: 4.598 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/0.4091, allocations: 276.2 kB / 0.9717 GB, free: 4.324 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.807e-05/0.4092, allocations: 28 kB / 0.9717 GB, free: 4.297 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0002843/0.4095, allocations: 410.7 kB / 0.9721 GB, free: 3.887 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001465/0.411, allocations: 0.6207 MB / 0.9727 GB, free: 3.266 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001949/0.413, allocations: 1.185 MB / 0.9739 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001931/0.4149, allocations: 0.8579 MB / 0.9747 GB, free: 0.957 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-05/0.4149, allocations: 8 kB / 0.9747 GB, free: 0.9492 MB / 0.6198 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.005024/0.42, allocations: 2.018 MB / 0.9767 GB, free: 14.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.498e-05/0.4201, allocations: 16 kB / 0.9767 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.873e-05/0.4201, allocations: 16.62 kB / 0.9767 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006504/0.4208, allocations: 167.3 kB / 0.9769 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001903/0.4227, allocations: 351.4 kB / 0.9772 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.798e-05/0.4228, allocations: 39.8 kB / 0.9772 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.4245, allocations: 143.7 kB / 0.9774 GB, free: 14.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/0.4247, allocations: 64 kB / 0.9774 GB, free: 14.12 MB / 0.6355 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.002273/0.427, allocations: 0.9771 MB / 0.9784 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003785/0.4274, allocations: 110.7 kB / 0.9785 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003321/0.4307, allocations: 1.245 MB / 0.9797 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.4308, allocations: 8 kB / 0.9797 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/0.4308, allocations: 4 kB / 0.9797 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-05/0.4308, allocations: 3.984 kB / 0.9797 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009359/0.4402, allocations: 3.686 MB / 0.9833 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.681e-05/0.4403, allocations: 4 kB / 0.9833 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.4413, allocations: 159.8 kB / 0.9835 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006142/0.4419, allocations: 139.3 kB / 0.9836 GB, free: 7.617 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.149e-05/0.442, allocations: 16 kB / 0.9836 GB, free: 7.602 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.268e-05/0.442, allocations: 12.09 kB / 0.9836 GB, free: 7.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.4421, allocations: 4 kB / 0.9836 GB, free: 7.586 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003298/0.4454, allocations: 1.596 MB / 0.9852 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008888/0.4463, allocations: 295.6 kB / 0.9855 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/0.4465, allocations: 16 kB / 0.9855 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/0.4475, allocations: 79.84 kB / 0.9856 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.4477, allocations: 56.48 kB / 0.9856 GB, free: 5.414 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-05/0.4478, allocations: 24 kB / 0.9856 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001444/0.4493, allocations: 0.6913 MB / 0.9863 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.41e-07/0.4493, allocations: 0 / 0.9863 GB, free: 4.688 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002339/0.4516, allocations: 388 kB / 0.9867 GB, free: 4.309 MB / 0.6355 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.004017/0.4557, allocations: 2.848 MB / 0.9895 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003862/0.4596, allocations: 1.719 MB / 0.9912 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.4596, allocations: 0 / 0.9912 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001578/0.4612, allocations: 0.8747 MB / 0.992 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001961/0.4632, allocations: 242.8 kB / 0.9922 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02142/0.4846, allocations: 22.53 MB / 1.014 GB, free: 7.188 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002306/0.487, allocations: 1.964 MB / 1.016 GB, free: 5.191 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001596/0.4886, allocations: 453.4 kB / 1.017 GB, free: 4.746 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/0.4898, allocations: 0.7141 MB / 1.017 GB, free: 4.031 MB / 0.6667 GB Notification: Performance of SimCode: time 1.723e-06/0.4898, allocations: 0 / 1.017 GB, free: 4.031 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05425/0.5441, allocations: 26.88 MB / 1.044 GB, free: 9.496 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002706/0.5444, allocations: 241 kB / 1.044 GB, free: 9.246 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.546/3.09, allocations: 0 / 1.044 GB, free: 9.246 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)