Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.892/1.892, allocations: 292.3 MB / 308.1 MB, free: 4.305 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.001882/0.001882, allocations: 190.4 kB / 376.9 MB, free: 1.801 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.901/1.901, allocations: 205 MB / 0.6354 GB, free: 9.777 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 104.1 kB / 0.748 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 51.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2874, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006108/0.2936, allocations: 3.786 MB / 0.9859 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003343/0.2969, allocations: 1.837 MB / 0.9877 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000437/0.2974, allocations: 19.88 kB / 0.9877 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.2985, allocations: 247 kB / 0.988 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0008922/0.2994, allocations: 274.7 kB / 0.9882 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006536/0.3, allocations: 223.6 kB / 0.9884 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0009757/0.301, allocations: 0.7452 MB / 0.9892 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006125/0.3016, allocations: 257.8 kB / 0.9894 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004585/0.3021, allocations: 215 kB / 0.9896 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004205/0.3025, allocations: 235 kB / 0.9898 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.788e-05/0.3026, allocations: 16 kB / 0.9899 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006692/0.3033, allocations: 347.3 kB / 0.9902 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.3035, allocations: 103.6 kB / 0.9903 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002623/0.3038, allocations: 210.8 kB / 0.9905 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0008466/0.3046, allocations: 0.5959 MB / 0.9911 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3046, allocations: 0 / 0.9911 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.92e-07/0.3046, allocations: 0 / 0.9911 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.795e-05/0.3047, allocations: 0 / 0.9911 GB, free: 1.246 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001543/0.3062, allocations: 0.7323 MB / 0.9918 GB, free: 472 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.3063, allocations: 8.031 kB / 0.9918 GB, free: 464 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009278/0.3072, allocations: 132.2 kB / 0.9919 GB, free: 332 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006005/0.3078, allocations: 375.8 kB / 0.9923 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.3079, allocations: 25.02 kB / 0.9923 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.453e-05/0.3079, allocations: 36.12 kB / 0.9923 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008512/0.3088, allocations: 0.5472 MB / 0.9929 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.448e-05/0.3088, allocations: 7.984 kB / 0.9929 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/0.3089, allocations: 15.98 kB / 0.9929 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.026e-05/0.3089, allocations: 40.48 kB / 0.9929 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007606/0.3097, allocations: 409.8 kB / 0.9933 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003039/0.3128, allocations: 3.33 MB / 0.9966 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006994/0.3135, allocations: 346.3 kB / 0.9969 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.3138, allocations: 176.8 kB / 0.9971 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.106e-05/0.3138, allocations: 4 kB / 0.9971 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.3139, allocations: 34.56 kB / 0.9971 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=26): time 1.773e-06/0.3139, allocations: 0 / 0.9971 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=27): time 0.002074/0.3159, allocations: 1.056 MB / 0.9981 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.316, allocations: 59.58 kB / 0.9982 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/0.3164, allocations: 345.5 kB / 0.9985 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.3164, allocations: 33.7 kB / 0.9986 GB, free: 9.055 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001663/0.3166, allocations: 243.5 kB / 0.9988 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.289e-05/0.3167, allocations: 94.64 kB / 0.9989 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.3168, allocations: 74.05 kB / 0.999 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3169, allocations: 346.8 kB / 0.9993 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.3173, allocations: 148.8 kB / 0.9994 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003612/0.3176, allocations: 290.5 kB / 0.9997 GB, free: 7.797 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006636/0.3183, allocations: 489.7 kB / 1 GB, free: 7.254 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3183, allocations: 4 kB / 1 GB, free: 7.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009965/0.3193, allocations: 0.562 MB / 1.001 GB, free: 6.672 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.3194, allocations: 14.44 kB / 1.001 GB, free: 6.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.3194, allocations: 4 kB / 1.001 GB, free: 6.656 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003062/0.3197, allocations: 82.52 kB / 1.001 GB, free: 6.566 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003359/0.32, allocations: 87.88 kB / 1.001 GB, free: 6.48 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.777e-05/0.3201, allocations: 15.92 kB / 1.001 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.3204, allocations: 44 kB / 1.001 GB, free: 6.422 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.3204, allocations: 12 kB / 1.001 GB, free: 6.41 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002097/0.3206, allocations: 184.9 kB / 1.001 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.46e-05/0.3207, allocations: 35.62 kB / 1.001 GB, free: 6.188 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009231/0.3216, allocations: 464.1 kB / 1.002 GB, free: 5.719 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.3216, allocations: 4 kB / 1.002 GB, free: 5.715 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.3216, allocations: 4 kB / 1.002 GB, free: 5.711 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3217, allocations: 3.984 kB / 1.002 GB, free: 5.707 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.3232, allocations: 0.9639 MB / 1.003 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.3232, allocations: 0 / 1.003 GB, free: 4.668 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.3234, allocations: 51.89 kB / 1.003 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000235/0.3237, allocations: 86.5 kB / 1.003 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.3237, allocations: 8 kB / 1.003 GB, free: 4.516 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3237, allocations: 4.094 kB / 1.003 GB, free: 4.512 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3237, allocations: 0 / 1.003 GB, free: 4.512 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.3253, allocations: 1.337 MB / 1.004 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.3255, allocations: 140.5 kB / 1.004 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.3255, allocations: 4 kB / 1.004 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002302/0.3258, allocations: 23.97 kB / 1.004 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.873e-05/0.3259, allocations: 31.89 kB / 1.004 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.3259, allocations: 4 kB / 1.004 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002549/0.3262, allocations: 239.2 kB / 1.004 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.306e-06/0.3262, allocations: 0 / 1.004 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005529/0.3267, allocations: 91.94 kB / 1.005 GB, free: 2.559 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00016/0.3269, allocations: 103.2 kB / 1.005 GB, free: 2.445 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009669/0.3279, allocations: 0.6342 MB / 1.005 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3279, allocations: 0 / 1.005 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004819/0.3284, allocations: 434.9 kB / 1.006 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007395/0.3291, allocations: 128.1 kB / 1.006 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.3307, allocations: 1.084 MB / 1.007 GB, free: 4 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006467/0.3314, allocations: 0.8273 MB / 1.008 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003506/0.3317, allocations: 79.36 kB / 1.008 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.3318, allocations: 35.42 kB / 1.008 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of SimCode: time 1.773e-06/0.3319, allocations: 0 / 1.008 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of Templates: time 0.01208/0.3439, allocations: 4.623 MB / 1.012 GB, free: 10.45 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)