Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 109.4 kB / 15.69 MB, free: 124 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 187.8 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.1 MB / 222.5 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.751/1.751, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001923/0.001924, allocations: 67.38 kB / 0.6718 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2487, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006337/0.2551, allocations: 4.908 MB / 0.7884 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00411/0.2592, allocations: 2.526 MB / 0.7909 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003982/0.2597, allocations: 23.81 kB / 0.7909 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.2609, allocations: 409 kB / 0.7913 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.2621, allocations: 445.6 kB / 0.7917 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009351/0.2631, allocations: 411.1 kB / 0.7921 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009839/0.2641, allocations: 0.9212 MB / 0.793 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005356/0.2646, allocations: 354.7 kB / 0.7934 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004107/0.265, allocations: 342.7 kB / 0.7937 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004146/0.2655, allocations: 346.4 kB / 0.794 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.53e-05/0.2655, allocations: 36 kB / 0.794 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006618/0.2662, allocations: 403.1 kB / 0.7944 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.2664, allocations: 183.5 kB / 0.7946 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002866/0.2667, allocations: 322.2 kB / 0.7949 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009552/0.2676, allocations: 0.8915 MB / 0.7958 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2676, allocations: 0 / 0.7958 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.332e-06/0.2677, allocations: 0 / 0.7958 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.2677, allocations: 0 / 0.7958 GB, free: 0.7617 MB / 0.6075 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.001399/0.2691, allocations: 0.9462 MB / 0.7967 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.2691, allocations: 12.03 kB / 0.7967 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.751e-05/0.2692, allocations: 90.69 kB / 0.7968 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.2704, allocations: 199.9 kB / 0.797 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008138/0.2713, allocations: 0.5528 MB / 0.7975 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.2713, allocations: 37.36 kB / 0.7976 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.9e-05/0.2714, allocations: 44.31 kB / 0.7976 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.2725, allocations: 0.8483 MB / 0.7984 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.289e-05/0.2726, allocations: 19.83 kB / 0.7985 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.286e-05/0.2726, allocations: 23.98 kB / 0.7985 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-05/0.2727, allocations: 60.95 kB / 0.7985 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008083/0.2735, allocations: 0.5695 MB / 0.7991 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003992/0.2775, allocations: 5.647 MB / 0.8046 GB, free: 7.09 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005941/0.2781, allocations: 461.1 kB / 0.8051 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002788/0.2784, allocations: 228.7 kB / 0.8053 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.2785, allocations: 4 kB / 0.8053 GB, free: 6.402 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.2785, allocations: 34.56 kB / 0.8053 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 1.593e-06/0.2785, allocations: 0 / 0.8053 GB, free: 6.359 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.002372/0.2809, allocations: 1.513 MB / 0.8068 GB, free: 4.734 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.2809, allocations: 55.41 kB / 0.8068 GB, free: 4.668 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004608/0.2814, allocations: 0.4912 MB / 0.8073 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.2814, allocations: 37.7 kB / 0.8074 GB, free: 4.121 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002074/0.2817, allocations: 366.8 kB / 0.8077 GB, free: 3.758 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.04e-05/0.2817, allocations: 118.4 kB / 0.8078 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.2819, allocations: 106.2 kB / 0.8079 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.282, allocations: 366.8 kB / 0.8083 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002669/0.2823, allocations: 197.2 kB / 0.8085 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000403/0.2827, allocations: 451 kB / 0.8089 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000731/0.2835, allocations: 0.6846 MB / 0.8096 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2835, allocations: 0 / 0.8096 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001178/0.2846, allocations: 0.8097 MB / 0.8103 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.2847, allocations: 11.98 kB / 0.8104 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.2847, allocations: 12 kB / 0.8104 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004793/0.2852, allocations: 160.3 kB / 0.8105 GB, free: 0.582 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004261/0.2856, allocations: 115.8 kB / 0.8106 GB, free: 480 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003146/0.2888, allocations: 4.348 MB / 0.8149 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004484/0.2892, allocations: 35.97 kB / 0.8149 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.061e-05/0.2893, allocations: 28 kB / 0.8149 GB, free: 11.64 MB / 0.6387 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.000323/0.2896, allocations: 215.9 kB / 0.8151 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.816e-05/0.2897, allocations: 63.23 kB / 0.8152 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009517/0.2907, allocations: 0.6046 MB / 0.8158 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.2907, allocations: 4 kB / 0.8158 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.2907, allocations: 7.984 kB / 0.8158 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2907, allocations: 7.938 kB / 0.8158 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001661/0.2924, allocations: 1.259 MB / 0.817 GB, free: 9.363 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.2924, allocations: 4 kB / 0.817 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.2927, allocations: 59.83 kB / 0.8171 GB, free: 9.301 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003723/0.2931, allocations: 136.2 kB / 0.8172 GB, free: 9.152 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.2931, allocations: 11.94 kB / 0.8172 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002934/0.296, allocations: 4.333 MB / 0.8215 GB, free: 4.383 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.2961, allocations: 8.031 kB / 0.8215 GB, free: 4.375 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009675/0.297, allocations: 0.7121 MB / 0.8222 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.2973, allocations: 168.3 kB / 0.8223 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.195e-05/0.2973, allocations: 8 kB / 0.8223 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.2976, allocations: 27.97 kB / 0.8224 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.2977, allocations: 35.83 kB / 0.8224 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.2977, allocations: 8 kB / 0.8224 GB, free: 3.348 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000344/0.298, allocations: 338.8 kB / 0.8227 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.298, allocations: 0 / 0.8227 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006626/0.2987, allocations: 144 kB / 0.8229 GB, free: 2.879 MB / 0.6387 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.001267/0.3, allocations: 1.265 MB / 0.8241 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00146/0.3015, allocations: 1.037 MB / 0.8251 GB, free: 440 kB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3015, allocations: 4.125 kB / 0.8251 GB, free: 436 kB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008556/0.3023, allocations: 0.7352 MB / 0.8258 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.3034, allocations: 205.9 kB / 0.826 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005973/0.3094, allocations: 5.137 MB / 0.8311 GB, free: 9.902 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/0.3099, allocations: 0.9057 MB / 0.8319 GB, free: 8.969 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000346/0.3102, allocations: 125.3 kB / 0.8321 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.3104, allocations: 199.4 kB / 0.8323 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of SimCode: time 8.51e-07/0.3105, allocations: 0 / 0.8323 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03488/0.3453, allocations: 12.71 MB / 0.8447 GB, free: 12.22 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.507/9.853, allocations: 21.11 kB / 0.8447 GB, free: 12.2 MB / 0.67 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)