Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_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.411/1.411, allocations: 252 MB / 267.3 MB, free: 10.85 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.001054/0.001054, allocations: 184.3 kB / 327 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.4 MB / 0.578 GB, free: 20.15 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.000969/0.000969, allocations: 78.44 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.000346, allocations: 12.31 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2561, allocations: 106.3 MB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004949/0.2611, allocations: 4.53 MB / 0.9053 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003955/0.2651, allocations: 2.503 MB / 0.9078 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003518/0.2655, allocations: 27.75 kB / 0.9078 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.2658, allocations: 83.22 kB / 0.9079 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000935/0.2668, allocations: 418 kB / 0.9083 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008796/0.2677, allocations: 373.5 kB / 0.9086 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008861/0.2686, allocations: 1.128 MB / 0.9097 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007321/0.2693, allocations: 476.2 kB / 0.9102 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003521/0.2697, allocations: 294.6 kB / 0.9105 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003688/0.27, allocations: 334.5 kB / 0.9108 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.502e-05/0.2701, allocations: 20 kB / 0.9108 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007635/0.2709, allocations: 0.4911 MB / 0.9113 GB, free: 52.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.2711, allocations: 163.4 kB / 0.9115 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002713/0.2713, allocations: 327.9 kB / 0.9118 GB, free: 52.22 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007724/0.2721, allocations: 0.876 MB / 0.9126 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2721, allocations: 0 / 0.9126 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.426e-06/0.2722, allocations: 0 / 0.9126 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.548e-06/0.2722, allocations: 4 kB / 0.9126 GB, free: 51.34 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001199/0.2734, allocations: 0.8412 MB / 0.9135 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.2734, allocations: 8.031 kB / 0.9135 GB, free: 50.44 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.716e-05/0.2735, allocations: 90.7 kB / 0.9135 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.2748, allocations: 203.8 kB / 0.9137 GB, free: 50.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006384/0.2754, allocations: 0.4944 MB / 0.9142 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.2755, allocations: 33.36 kB / 0.9143 GB, free: 49.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.818e-05/0.2755, allocations: 56.28 kB / 0.9143 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009117/0.2765, allocations: 0.8522 MB / 0.9151 GB, free: 48.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.2765, allocations: 11.84 kB / 0.9152 GB, free: 48.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.595e-05/0.2765, allocations: 20 kB / 0.9152 GB, free: 48.51 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.118e-05/0.2766, allocations: 68.95 kB / 0.9152 GB, free: 48.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006773/0.2773, allocations: 0.5616 MB / 0.9158 GB, free: 47.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003344/0.2807, allocations: 5.651 MB / 0.9213 GB, free: 41.83 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005535/0.2812, allocations: 465.2 kB / 0.9217 GB, free: 41.37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002791/0.2815, allocations: 228.7 kB / 0.922 GB, free: 41.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.2816, allocations: 4 kB / 0.922 GB, free: 41.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.2816, allocations: 34.56 kB / 0.922 GB, free: 41.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 3.046e-06/0.2816, allocations: 4 kB / 0.922 GB, free: 41.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.002372/0.284, allocations: 1.513 MB / 0.9235 GB, free: 39.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.284, allocations: 55.41 kB / 0.9235 GB, free: 39.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004155/0.2845, allocations: 0.4989 MB / 0.924 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.2845, allocations: 29.7 kB / 0.9241 GB, free: 38.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.2847, allocations: 362.8 kB / 0.9244 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.045e-05/0.2848, allocations: 122.4 kB / 0.9245 GB, free: 38.37 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.2848, allocations: 12 kB / 0.9245 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.2849, allocations: 362.8 kB / 0.9249 GB, free: 38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.2852, allocations: 201.1 kB / 0.9251 GB, free: 37.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/0.2855, allocations: 447 kB / 0.9255 GB, free: 37.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006288/0.2862, allocations: 0.6877 MB / 0.9262 GB, free: 36.44 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.2862, allocations: 4 kB / 0.9262 GB, free: 36.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001069/0.2873, allocations: 0.7977 MB / 0.9269 GB, free: 35.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.2873, allocations: 16.22 kB / 0.927 GB, free: 35.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/0.2873, allocations: 15.92 kB / 0.927 GB, free: 35.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004827/0.2878, allocations: 152.1 kB / 0.9271 GB, free: 35.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004125/0.2883, allocations: 123.8 kB / 0.9272 GB, free: 35.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002705/0.291, allocations: 4.04 MB / 0.9312 GB, free: 30.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004397/0.2914, allocations: 35.97 kB / 0.9312 GB, free: 30.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.2915, allocations: 28 kB / 0.9312 GB, free: 30.8 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003042/0.2918, allocations: 213.7 kB / 0.9314 GB, free: 30.58 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.617e-05/0.2919, allocations: 59.25 kB / 0.9315 GB, free: 30.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008809/0.2928, allocations: 0.6126 MB / 0.9321 GB, free: 29.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.2928, allocations: 8 kB / 0.9321 GB, free: 29.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2928, allocations: 3.938 kB / 0.9321 GB, free: 29.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2928, allocations: 0 / 0.9321 GB, free: 29.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.2943, allocations: 1.269 MB / 0.9334 GB, free: 28.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.2944, allocations: 0 / 0.9334 GB, free: 28.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.2946, allocations: 59.89 kB / 0.9334 GB, free: 28.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003557/0.295, allocations: 136.4 kB / 0.9335 GB, free: 28.31 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.295, allocations: 11.98 kB / 0.9336 GB, free: 28.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002297/0.2973, allocations: 4.024 MB / 0.9375 GB, free: 23.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.2973, allocations: 8.094 kB / 0.9375 GB, free: 23.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008821/0.2982, allocations: 0.7044 MB / 0.9382 GB, free: 23.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.2984, allocations: 172.2 kB / 0.9383 GB, free: 22.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.5e-05/0.2985, allocations: 11.98 kB / 0.9384 GB, free: 22.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.2987, allocations: 23.97 kB / 0.9384 GB, free: 22.88 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.708e-05/0.2988, allocations: 31.91 kB / 0.9384 GB, free: 22.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.2988, allocations: 12 kB / 0.9384 GB, free: 22.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003428/0.2992, allocations: 338.8 kB / 0.9387 GB, free: 22.51 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2992, allocations: 0 / 0.9387 GB, free: 22.51 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006418/0.2998, allocations: 140 kB / 0.9389 GB, free: 22.38 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001166/0.301, allocations: 1.279 MB / 0.9401 GB, free: 21.03 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001307/0.3023, allocations: 1.024 MB / 0.9411 GB, free: 19.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.3024, allocations: 4 kB / 0.9411 GB, free: 19.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006639/0.303, allocations: 0.7351 MB / 0.9418 GB, free: 19.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.3041, allocations: 190.7 kB / 0.942 GB, free: 18.92 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005646/0.3098, allocations: 5.476 MB / 0.9474 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003749/0.3102, allocations: 0.9059 MB / 0.9483 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000366/0.3106, allocations: 121.3 kB / 0.9484 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.3108, allocations: 195.4 kB / 0.9486 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of SimCode: time 1.202e-06/0.3108, allocations: 0 / 0.9486 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.3379, allocations: 12.17 MB / 0.9604 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002269/0.3382, allocations: 256.7 kB / 0.9607 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.499/2.837, allocations: 0 / 0.9607 GB, free: 15.68 MB / 0.6198 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)