Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_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.001271/0.001271, allocations: 107.6 kB / 16.27 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 191.9 kB / 17.2 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.192/1.192, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6785/0.6785, allocations: 122.8 MB / 413.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.91 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2885/0.2897, allocations: 77.93 MB / 0.5673 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.004794/0.2945, allocations: 4.876 MB / 0.5721 GB, free: 29.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002864/0.2974, allocations: 2.482 MB / 0.5745 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002029/0.2976, allocations: 26.19 kB / 0.5745 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008807/0.2985, allocations: 396.2 kB / 0.5749 GB, free: 27.26 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000666/0.2992, allocations: 449.3 kB / 0.5753 GB, free: 27.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006409/0.2999, allocations: 399.7 kB / 0.5757 GB, free: 26.83 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006778/0.3006, allocations: 0.9228 MB / 0.5766 GB, free: 26.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004423/0.301, allocations: 361 kB / 0.5769 GB, free: 26.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003096/0.3013, allocations: 336.8 kB / 0.5773 GB, free: 26.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.3017, allocations: 356.6 kB / 0.5776 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.926e-05/0.3017, allocations: 40.12 kB / 0.5776 GB, free: 25.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000517/0.3023, allocations: 401.5 kB / 0.578 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.3024, allocations: 181.4 kB / 0.5782 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002309/0.3027, allocations: 325.8 kB / 0.5785 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007763/0.3034, allocations: 0.8704 MB / 0.5794 GB, free: 25.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3034, allocations: 2.406 kB / 0.5794 GB, free: 25.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3035, allocations: 3.938 kB / 0.5794 GB, free: 25.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.3035, allocations: 1.438 kB / 0.5794 GB, free: 25.24 MB / 446.1 MB 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.001005/0.3045, allocations: 0.951 MB / 0.5803 GB, free: 24.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.3045, allocations: 10.22 kB / 0.5803 GB, free: 24.53 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.77e-05/0.3046, allocations: 90.56 kB / 0.5804 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.3057, allocations: 207.8 kB / 0.5806 GB, free: 24.39 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.3062, allocations: 0.4906 MB / 0.5811 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.3062, allocations: 31.33 kB / 0.5811 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.252e-05/0.3063, allocations: 58 kB / 0.5811 GB, free: 23.94 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000759/0.3071, allocations: 0.8485 MB / 0.582 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.3071, allocations: 7.156 kB / 0.582 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.235e-05/0.3072, allocations: 20.06 kB / 0.582 GB, free: 23.24 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.392e-05/0.3072, allocations: 63.58 kB / 0.5821 GB, free: 23.22 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006605/0.3079, allocations: 0.5683 MB / 0.5826 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002634/0.3105, allocations: 5.656 MB / 0.5881 GB, free: 17.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005056/0.3111, allocations: 456.2 kB / 0.5886 GB, free: 17.29 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/0.3113, allocations: 232 kB / 0.5888 GB, free: 17.17 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.3113, allocations: 4.781 kB / 0.5888 GB, free: 17.17 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.3114, allocations: 36.25 kB / 0.5888 GB, free: 17.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 1.352e-06/0.3114, allocations: 1.125 kB / 0.5888 GB, free: 17.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.001977/0.3133, allocations: 1.51 MB / 0.5903 GB, free: 16.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.858e-05/0.3134, allocations: 55 kB / 0.5904 GB, free: 15.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.3138, allocations: 0.4988 MB / 0.5909 GB, free: 15.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.3138, allocations: 34.92 kB / 0.5909 GB, free: 15.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.3139, allocations: 359.4 kB / 0.5912 GB, free: 15.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.314, allocations: 119.1 kB / 0.5913 GB, free: 15.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.3141, allocations: 112.1 kB / 0.5914 GB, free: 15.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.841e-05/0.3142, allocations: 363.2 kB / 0.5918 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.3144, allocations: 193.7 kB / 0.592 GB, free: 14.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002875/0.3147, allocations: 446.6 kB / 0.5924 GB, free: 14.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005876/0.3153, allocations: 0.6936 MB / 0.5931 GB, free: 13.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3153, allocations: 2.656 kB / 0.5931 GB, free: 13.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0011/0.3164, allocations: 0.8123 MB / 0.5939 GB, free: 13.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.3164, allocations: 12.38 kB / 0.5939 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.3164, allocations: 11.61 kB / 0.5939 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004401/0.3169, allocations: 155 kB / 0.5941 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/0.3173, allocations: 125.4 kB / 0.5942 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/0.3197, allocations: 4.344 MB / 0.5984 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.32, allocations: 33.38 kB / 0.5984 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.278e-05/0.3201, allocations: 26.84 kB / 0.5985 GB, free: 8.645 MB / 446.1 MB 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.0001688/0.3202, allocations: 226.8 kB / 0.5987 GB, free: 8.453 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.22e-05/0.3203, allocations: 57.81 kB / 0.5987 GB, free: 8.426 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008038/0.3211, allocations: 0.5993 MB / 0.5993 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3211, allocations: 3.969 kB / 0.5993 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.3211, allocations: 5.312 kB / 0.5993 GB, free: 8.047 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3211, allocations: 3.984 kB / 0.5993 GB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.3226, allocations: 1.265 MB / 0.6006 GB, free: 7.035 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3226, allocations: 0 / 0.6006 GB, free: 7.035 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.3228, allocations: 55.94 kB / 0.6006 GB, free: 6.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002949/0.3231, allocations: 148.3 kB / 0.6008 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.3231, allocations: 11.94 kB / 0.6008 GB, free: 6.809 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/0.325, allocations: 4.328 MB / 0.605 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.325, allocations: 0 / 0.605 GB, free: 2.055 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006816/0.3257, allocations: 0.7155 MB / 0.6057 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.3258, allocations: 168.3 kB / 0.6059 GB, free: 1.102 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.829e-05/0.3259, allocations: 8 kB / 0.6059 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.3261, allocations: 23.97 kB / 0.6059 GB, free: 1.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.3262, allocations: 27.91 kB / 0.6059 GB, free: 1.043 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.3262, allocations: 15.98 kB / 0.6059 GB, free: 1.027 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002264/0.3264, allocations: 338.8 kB / 0.6063 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3264, allocations: 4 kB / 0.6063 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004968/0.3269, allocations: 144 kB / 0.6064 GB, free: 0.5547 MB / 446.1 MB 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.001031/0.328, allocations: 1.258 MB / 0.6076 GB, free: 15.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001278/0.3292, allocations: 1.084 MB / 0.6087 GB, free: 14.06 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.3293, allocations: 0 / 0.6087 GB, free: 14.06 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007543/0.33, allocations: 0.7385 MB / 0.6094 GB, free: 13.24 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000882/0.3309, allocations: 214.2 kB / 0.6096 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005355/0.3363, allocations: 5.255 MB / 0.6147 GB, free: 7.406 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/0.3367, allocations: 0.9059 MB / 0.6156 GB, free: 6.469 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003163/0.337, allocations: 113.3 kB / 0.6157 GB, free: 6.355 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.3373, allocations: 199.4 kB / 0.6159 GB, free: 6.164 MB / 462.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3373, allocations: 0 / 0.6159 GB, free: 6.164 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.667/2.004, allocations: 12.67 MB / 0.6283 GB, free: 9.793 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/13.12, allocations: 17.2 kB / 0.6283 GB, free: 9.781 MB / 478.1 MB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)