Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.747/1.747, allocations: 288.2 MB / 303.2 MB, free: 8.156 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.001036/0.001036, allocations: 185 kB / 371.8 MB, free: 10.26 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.518/1.518, allocations: 205.4 MB / 0.6305 GB, free: 9.984 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.000958/0.000958, allocations: 98.8 kB / 0.7439 GB, free: 5.914 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003835, allocations: 15.47 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2388, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.003901/0.2428, allocations: 4.156 MB / 0.9835 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002941/0.2457, allocations: 2.361 MB / 0.9858 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002571/0.246, allocations: 23.75 kB / 0.9859 GB, free: 21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002083/0.2462, allocations: 75.39 kB / 0.9859 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007729/0.247, allocations: 358.9 kB / 0.9863 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006629/0.2477, allocations: 310 kB / 0.9866 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005548/0.2482, allocations: 0.5874 MB / 0.9872 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006071/0.2489, allocations: 424.2 kB / 0.9876 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.2491, allocations: 266.9 kB / 0.9878 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003334/0.2495, allocations: 278.8 kB / 0.9881 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.97e-05/0.2495, allocations: 23.94 kB / 0.9881 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.2498, allocations: 151.8 kB / 0.9882 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.2499, allocations: 139.6 kB / 0.9884 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.836e-05/0.25, allocations: 141.3 kB / 0.9885 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004468/0.2504, allocations: 0.6002 MB / 0.9891 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.2505, allocations: 4 kB / 0.9891 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2505, allocations: 0 / 0.9891 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.2505, allocations: 0 / 0.9891 GB, free: 17.66 MB / 0.6198 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.001024/0.2515, allocations: 0.8216 MB / 0.9899 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.2516, allocations: 12.03 kB / 0.9899 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.76e-05/0.2516, allocations: 90.5 kB / 0.99 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008507/0.2525, allocations: 186.8 kB / 0.9902 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000642/0.2532, allocations: 489.3 kB / 0.9907 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.2532, allocations: 29 kB / 0.9907 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.237e-05/0.2533, allocations: 47.98 kB / 0.9907 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008654/0.2541, allocations: 0.8442 MB / 0.9915 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.2542, allocations: 11.84 kB / 0.9916 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.721e-05/0.2542, allocations: 27.98 kB / 0.9916 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.354e-05/0.2543, allocations: 60.95 kB / 0.9916 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006576/0.255, allocations: 0.5656 MB / 0.9922 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003131/0.2581, allocations: 5.643 MB / 0.9977 GB, free: 8.223 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005055/0.2586, allocations: 458.3 kB / 0.9981 GB, free: 7.766 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.2587, allocations: 4 kB / 0.9981 GB, free: 7.762 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.2587, allocations: 34.56 kB / 0.9982 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 2.014e-06/0.2587, allocations: 0 / 0.9982 GB, free: 7.719 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.002128/0.2608, allocations: 1.512 MB / 0.9997 GB, free: 6.094 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.2609, allocations: 55.41 kB / 0.9997 GB, free: 6.027 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003766/0.2613, allocations: 0.4989 MB / 1 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.2613, allocations: 29.7 kB / 1 GB, free: 5.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001521/0.2615, allocations: 358.8 kB / 1.001 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.865e-05/0.2615, allocations: 118.3 kB / 1.001 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.029e-05/0.2616, allocations: 11.94 kB / 1.001 GB, free: 4.992 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.037e-05/0.2616, allocations: 370.8 kB / 1.001 GB, free: 4.621 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002209/0.2619, allocations: 197.1 kB / 1.001 GB, free: 4.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003286/0.2622, allocations: 451 kB / 1.002 GB, free: 3.871 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.2625, allocations: 256.1 kB / 1.002 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2625, allocations: 0 / 1.002 GB, free: 3.621 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009905/0.2635, allocations: 0.8049 MB / 1.003 GB, free: 2.793 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.2635, allocations: 9.562 kB / 1.003 GB, free: 2.785 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.2636, allocations: 8 kB / 1.003 GB, free: 2.777 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004341/0.264, allocations: 160.9 kB / 1.003 GB, free: 2.605 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/0.2644, allocations: 119.8 kB / 1.003 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002813/0.2672, allocations: 4.072 MB / 1.007 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003662/0.2676, allocations: 31.97 kB / 1.007 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.891e-05/0.2677, allocations: 28 kB / 1.007 GB, free: 13.96 MB / 0.6355 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002932/0.268, allocations: 209.8 kB / 1.007 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-05/0.2681, allocations: 63.25 kB / 1.007 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.2692, allocations: 0.6086 MB / 1.008 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.2692, allocations: 0 / 1.008 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.2692, allocations: 7.953 kB / 1.008 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.2692, allocations: 3.984 kB / 1.008 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001885/0.2711, allocations: 1.247 MB / 1.009 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.2711, allocations: 4.203 kB / 1.009 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002638/0.2714, allocations: 63.89 kB / 1.009 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003864/0.2718, allocations: 136.1 kB / 1.009 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.2718, allocations: 8 kB / 1.009 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003367/0.2752, allocations: 4.056 MB / 1.013 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.2752, allocations: 8.016 kB / 1.013 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/0.2765, allocations: 0.782 MB / 1.014 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002718/0.2767, allocations: 168.3 kB / 1.014 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.484e-05/0.2768, allocations: 8 kB / 1.014 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.2771, allocations: 23.97 kB / 1.014 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.017e-05/0.2772, allocations: 35.89 kB / 1.014 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.2772, allocations: 15.94 kB / 1.014 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0004367/0.2777, allocations: 338.8 kB / 1.015 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2777, allocations: 0 / 1.015 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007041/0.2784, allocations: 140 kB / 1.015 GB, free: 5.41 MB / 0.6355 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001788/0.2802, allocations: 1.833 MB / 1.017 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001588/0.2818, allocations: 1.042 MB / 1.018 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2818, allocations: 0 / 1.018 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008394/0.2826, allocations: 0.735 MB / 1.018 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008645/0.2835, allocations: 172.5 kB / 1.018 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007984/0.2915, allocations: 9.042 MB / 1.027 GB, free: 8.07 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005772/0.2921, allocations: 0.922 MB / 1.028 GB, free: 7.121 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004145/0.2925, allocations: 125.3 kB / 1.028 GB, free: 6.996 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/0.2928, allocations: 199.4 kB / 1.028 GB, free: 6.801 MB / 0.6511 GB Notification: Performance of SimCode: time 1.643e-06/0.2928, allocations: 0 / 1.028 GB, free: 6.801 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03245/0.3253, allocations: 12.19 MB / 1.04 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002813/0.3256, allocations: 242.3 kB / 1.041 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.371/2.696, allocations: 0 / 1.041 GB, free: 10.63 MB / 0.6667 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)