Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.348/2.348, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001372/0.001371, allocations: 185.1 kB / 326.3 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.425/2.425, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009388/0.0009384, allocations: 101.9 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004757/0.0004759, allocations: 11.41 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2107, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004687/0.2155, allocations: 3.266 MB / 0.9027 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003445/0.219, allocations: 1.736 MB / 0.9044 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003781/0.2195, allocations: 15.88 kB / 0.9044 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.2197, allocations: 59.48 kB / 0.9045 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000832/0.2206, allocations: 222.8 kB / 0.9047 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007205/0.2213, allocations: 189.7 kB / 0.9049 GB, free: 60 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008572/0.2222, allocations: 0.6478 MB / 0.9055 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000865/0.2231, allocations: 342.5 kB / 0.9058 GB, free: 58.99 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004464/0.2235, allocations: 199.1 kB / 0.906 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003464/0.2239, allocations: 215.1 kB / 0.9062 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.205e-05/0.224, allocations: 16 kB / 0.9062 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004585/0.2244, allocations: 127.8 kB / 0.9064 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.2246, allocations: 111.6 kB / 0.9065 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.2247, allocations: 97.45 kB / 0.9066 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005994/0.2253, allocations: 435.1 kB / 0.907 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.2254, allocations: 0 / 0.907 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2254, allocations: 0 / 0.907 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.2254, allocations: 0 / 0.907 GB, free: 57.8 MB / 0.6042 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.001345/0.2267, allocations: 0.6702 MB / 0.9076 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.2268, allocations: 8.031 kB / 0.9076 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.2282, allocations: 144.1 kB / 0.9078 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000876/0.229, allocations: 363.9 kB / 0.9081 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.2291, allocations: 25.02 kB / 0.9081 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-05/0.2292, allocations: 28.38 kB / 0.9082 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.2303, allocations: 0.5587 MB / 0.9087 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.2304, allocations: 7.938 kB / 0.9087 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/0.2304, allocations: 12 kB / 0.9087 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.835e-05/0.2305, allocations: 40.53 kB / 0.9088 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.2316, allocations: 421.7 kB / 0.9092 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003456/0.2351, allocations: 3.333 MB / 0.9124 GB, free: 51.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009987/0.2362, allocations: 338.5 kB / 0.9127 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004606/0.2367, allocations: 181.8 kB / 0.9129 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.872e-05/0.2367, allocations: 4 kB / 0.9129 GB, free: 51.28 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.2367, allocations: 34.56 kB / 0.913 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 3.496e-06/0.2367, allocations: 0 / 0.913 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.003105/0.2399, allocations: 1.084 MB / 0.914 GB, free: 50.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.2399, allocations: 59.58 kB / 0.9141 GB, free: 50.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003972/0.2403, allocations: 333.6 kB / 0.9144 GB, free: 49.68 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.2404, allocations: 29.7 kB / 0.9144 GB, free: 49.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.2405, allocations: 251.6 kB / 0.9147 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.031e-05/0.2406, allocations: 94.59 kB / 0.9148 GB, free: 49.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.2407, allocations: 8 kB / 0.9148 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.706e-05/0.2408, allocations: 346.8 kB / 0.9151 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000428/0.2412, allocations: 148.8 kB / 0.9152 GB, free: 48.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004908/0.2417, allocations: 298.5 kB / 0.9155 GB, free: 48.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005052/0.2422, allocations: 196.5 kB / 0.9157 GB, free: 48.26 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.2422, allocations: 0 / 0.9157 GB, free: 48.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001529/0.2438, allocations: 0.5761 MB / 0.9163 GB, free: 47.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.2438, allocations: 4 kB / 0.9163 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.2439, allocations: 8 kB / 0.9163 GB, free: 47.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004692/0.2443, allocations: 87.02 kB / 0.9164 GB, free: 47.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006323/0.245, allocations: 95.88 kB / 0.9165 GB, free: 47.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/0.245, allocations: 11.94 kB / 0.9165 GB, free: 47.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/0.2455, allocations: 35.91 kB / 0.9165 GB, free: 47.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.726e-05/0.2456, allocations: 16 kB / 0.9165 GB, free: 47.41 MB / 0.6042 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00025/0.2458, allocations: 174 kB / 0.9167 GB, free: 47.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.585e-05/0.2459, allocations: 39.53 kB / 0.9167 GB, free: 47.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.2473, allocations: 479.9 kB / 0.9172 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.625e-06/0.2473, allocations: 3.938 kB / 0.9172 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.2473, allocations: 3.984 kB / 0.9172 GB, free: 46.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002029/0.2475, allocations: 132.6 kB / 0.9173 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.744e-05/0.2476, allocations: 8 kB / 0.9173 GB, free: 46.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.248, allocations: 27.91 kB / 0.9173 GB, free: 46.51 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.716e-05/0.2481, allocations: 23.91 kB / 0.9174 GB, free: 46.49 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001726/0.2499, allocations: 0.5466 MB / 0.9179 GB, free: 45.93 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001472/0.2514, allocations: 0.7055 MB / 0.9186 GB, free: 45.2 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004086/0.2518, allocations: 155.9 kB / 0.9187 GB, free: 45.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002821/0.2521, allocations: 235.2 kB / 0.919 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of Backend: time 7.92e-07/0.2521, allocations: 4 kB / 0.919 GB, free: 44.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001528/0.2537, allocations: 0.642 MB / 0.9196 GB, free: 44.11 MB / 0.6042 GB Notification: Performance of SimCode: time 0.00197/0.2556, allocations: 1.344 MB / 0.9209 GB, free: 42.72 MB / 0.6042 GB Notification: Performance of Templates: time 0.01576/0.2714, allocations: 5.983 MB / 0.9267 GB, free: 36.79 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)