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/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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001474, allocations: 108.5 kB / 15.99 MB, free: 6.348 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.001881/0.001881, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.449/1.449, allocations: 205.1 MB / 222.8 MB, free: 4.684 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.802/1.802, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001545/0.001545, allocations: 75.23 kB / 0.6717 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2193, allocations: 114.5 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004946/0.2243, allocations: 3.786 MB / 0.7872 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002883/0.2272, allocations: 1.825 MB / 0.789 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002302/0.2275, allocations: 15.88 kB / 0.789 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008696/0.2284, allocations: 237.9 kB / 0.7892 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006028/0.229, allocations: 278.7 kB / 0.7895 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005939/0.2296, allocations: 235.6 kB / 0.7897 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005773/0.2302, allocations: 0.6087 MB / 0.7903 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004667/0.2307, allocations: 274.5 kB / 0.7906 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003076/0.231, allocations: 239 kB / 0.7908 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.2313, allocations: 243 kB / 0.791 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.321e-05/0.2313, allocations: 28 kB / 0.7911 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004383/0.2318, allocations: 275.4 kB / 0.7913 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.2319, allocations: 123.6 kB / 0.7915 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002395/0.2322, allocations: 210.9 kB / 0.7917 GB, free: 5.516 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004868/0.2327, allocations: 455.2 kB / 0.7921 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.2327, allocations: 4 kB / 0.7921 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.674e-06/0.2327, allocations: 0 / 0.7921 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.2327, allocations: 0 / 0.7921 GB, free: 5.066 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001121/0.2338, allocations: 0.7322 MB / 0.7928 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.2339, allocations: 12.03 kB / 0.7928 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009078/0.2348, allocations: 132.2 kB / 0.7929 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004613/0.2353, allocations: 375.7 kB / 0.7933 GB, free: 3.738 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.2353, allocations: 21.03 kB / 0.7933 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.43e-05/0.2354, allocations: 36.36 kB / 0.7934 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008291/0.2362, allocations: 0.5471 MB / 0.7939 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.2362, allocations: 11.98 kB / 0.7939 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.2363, allocations: 15.98 kB / 0.7939 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.964e-05/0.2363, allocations: 36.55 kB / 0.794 GB, free: 3 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007526/0.2371, allocations: 409.7 kB / 0.7943 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003066/0.2402, allocations: 3.333 MB / 0.7976 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006326/0.2408, allocations: 338.4 kB / 0.7979 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.2411, allocations: 181.6 kB / 0.7981 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.2412, allocations: 0 / 0.7981 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.2412, allocations: 42.56 kB / 0.7981 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=26): time 1.392e-06/0.2412, allocations: 0 / 0.7981 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of matching and sorting (n=27): time 0.002009/0.2432, allocations: 1.066 MB / 0.7992 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.308e-05/0.2433, allocations: 55.64 kB / 0.7992 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.2436, allocations: 341.5 kB / 0.7996 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.2436, allocations: 29.7 kB / 0.7996 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.2438, allocations: 243.5 kB / 0.7998 GB, free: 12.63 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.009e-05/0.2438, allocations: 94.72 kB / 0.7999 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.244, allocations: 81.95 kB / 0.8 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.2441, allocations: 350.7 kB / 0.8003 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.2444, allocations: 148.8 kB / 0.8005 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.2447, allocations: 286.5 kB / 0.8007 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006833/0.2454, allocations: 489.5 kB / 0.8012 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2454, allocations: 0 / 0.8012 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009543/0.2464, allocations: 0.5577 MB / 0.8017 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.2464, allocations: 8 kB / 0.8018 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.2464, allocations: 4.625 kB / 0.8018 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003154/0.2467, allocations: 90.45 kB / 0.8018 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.2471, allocations: 91.88 kB / 0.8019 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.983e-05/0.2471, allocations: 11.94 kB / 0.8019 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.2474, allocations: 31.91 kB / 0.802 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.2474, allocations: 16 kB / 0.802 GB, free: 10.24 MB / 0.6231 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.0001896/0.2476, allocations: 180.7 kB / 0.8022 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.31e-05/0.2477, allocations: 39.53 kB / 0.8022 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008968/0.2486, allocations: 468.4 kB / 0.8026 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.2486, allocations: 7.938 kB / 0.8027 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.2486, allocations: 0 / 0.8027 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.2486, allocations: 7.984 kB / 0.8027 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.2501, allocations: 0.9615 MB / 0.8036 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2502, allocations: 0 / 0.8036 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002468/0.2504, allocations: 55.98 kB / 0.8037 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002385/0.2507, allocations: 90.48 kB / 0.8037 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.2507, allocations: 4 kB / 0.8037 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.2507, allocations: 4 kB / 0.8037 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.2507, allocations: 0 / 0.8037 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000817/0.2515, allocations: 0.5467 MB / 0.8043 GB, free: 7.746 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.2517, allocations: 136.6 kB / 0.8044 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.096e-05/0.2517, allocations: 4 kB / 0.8044 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002218/0.252, allocations: 23.97 kB / 0.8044 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/0.252, allocations: 31.84 kB / 0.8045 GB, free: 7.535 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.2521, allocations: 8 kB / 0.8045 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002266/0.2523, allocations: 235.2 kB / 0.8047 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2523, allocations: 0 / 0.8047 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004391/0.2528, allocations: 84 kB / 0.8048 GB, free: 7.223 MB / 0.6231 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.0001525/0.2529, allocations: 111.2 kB / 0.8049 GB, free: 7.102 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009432/0.2539, allocations: 0.6626 MB / 0.8055 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2539, allocations: 0 / 0.8055 GB, free: 6.375 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004589/0.2543, allocations: 441.7 kB / 0.806 GB, free: 5.879 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006893/0.255, allocations: 135.1 kB / 0.8061 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.2563, allocations: 0.9112 MB / 0.807 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.2567, allocations: 0.8311 MB / 0.8078 GB, free: 3.941 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.2568, allocations: 35.44 kB / 0.8078 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of SimCode: time 3.31e-07/0.2568, allocations: 0 / 0.8078 GB, free: 3.906 MB / 0.6231 GB Notification: Performance of Templates: time 0.01161/0.2684, allocations: 9.43 MB / 0.817 GB, free: 10.5 MB / 0.6387 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)