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.241/2.241, allocations: 251.1 MB / 266.7 MB, free: 11.65 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.0014/0.0014, allocations: 172.3 kB / 326.2 MB, free: 2.887 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.48/2.48, allocations: 205.4 MB / 0.5772 GB, free: 20.78 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.0009618/0.0009611, allocations: 89.05 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004878, allocations: 15.77 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2151, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3034/0.5186, allocations: 147.8 MB / 1.044 GB, free: 13.55 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005231/0.5192, allocations: 99.94 kB / 1.044 GB, free: 13.46 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.6861/1.205, allocations: 20.49 MB / 1.064 GB, free: 149.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.136e-06/1.205, allocations: 0 / 1.064 GB, free: 149.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.682e-05/1.205, allocations: 10.66 kB / 1.064 GB, free: 149.3 MB / 0.698 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.001518/1.207, allocations: 0.6933 MB / 1.065 GB, free: 148.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/1.207, allocations: 11.5 kB / 1.065 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/1.209, allocations: 135.5 kB / 1.065 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009325/1.209, allocations: 377 kB / 1.065 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/1.21, allocations: 20.25 kB / 1.065 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.099e-05/1.21, allocations: 32.19 kB / 1.065 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/1.211, allocations: 0.6039 MB / 1.066 GB, free: 148.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.363e-05/1.211, allocations: 5 kB / 1.066 GB, free: 148.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.98e-05/1.211, allocations: 21.69 kB / 1.066 GB, free: 148.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.93e-05/1.211, allocations: 33.92 kB / 1.066 GB, free: 148.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/1.213, allocations: 420.9 kB / 1.066 GB, free: 148.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004455/1.217, allocations: 3.361 MB / 1.069 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/1.218, allocations: 336.6 kB / 1.07 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005639/1.219, allocations: 183.9 kB / 1.07 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.066e-05/1.219, allocations: 8.016 kB / 1.07 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/1.219, allocations: 37.12 kB / 1.07 GB, free: 145.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 3.386e-06/1.219, allocations: 0 / 1.07 GB, free: 145.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=27): time 0.003631/1.223, allocations: 1.079 MB / 1.071 GB, free: 145 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.101e-05/1.223, allocations: 54.83 kB / 1.071 GB, free: 145 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005623/1.223, allocations: 347.6 kB / 1.071 GB, free: 144.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/1.224, allocations: 30.67 kB / 1.071 GB, free: 144.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/1.224, allocations: 238.7 kB / 1.072 GB, free: 144.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/1.224, allocations: 96.52 kB / 1.072 GB, free: 144.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.047e-05/1.224, allocations: 9.25 kB / 1.072 GB, free: 144.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.664e-05/1.224, allocations: 353.3 kB / 1.072 GB, free: 144.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005224/1.225, allocations: 149.3 kB / 1.072 GB, free: 144.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005375/1.225, allocations: 274.2 kB / 1.073 GB, free: 144.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005638/1.226, allocations: 194.1 kB / 1.073 GB, free: 144.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.381e-06/1.226, allocations: 1.031 kB / 1.073 GB, free: 144.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001735/1.227, allocations: 0.5526 MB / 1.073 GB, free: 144 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/1.227, allocations: 6.906 kB / 1.073 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/1.227, allocations: 4.375 kB / 1.073 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005187/1.228, allocations: 91.31 kB / 1.073 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006698/1.229, allocations: 84.86 kB / 1.073 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/1.229, allocations: 6.625 kB / 1.073 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00055/1.229, allocations: 35.88 kB / 1.074 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/1.229, allocations: 13.53 kB / 1.074 GB, free: 143.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (42): * Single equations (assignments): 39 * 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.0003169/1.23, allocations: 176.8 kB / 1.074 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/1.23, allocations: 35.53 kB / 1.074 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/1.231, allocations: 475.4 kB / 1.074 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/1.231, allocations: 10.47 kB / 1.074 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/1.231, allocations: 1.312 kB / 1.074 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/1.231, allocations: 4.469 kB / 1.074 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002517/1.234, allocations: 0.9734 MB / 1.075 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/1.234, allocations: 1.312 kB / 1.075 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005194/1.235, allocations: 54.31 kB / 1.075 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004344/1.235, allocations: 83.81 kB / 1.075 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.487e-05/1.235, allocations: 9.688 kB / 1.075 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/1.235, allocations: 6.406 kB / 1.075 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/1.235, allocations: 8 kB / 1.075 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/1.237, allocations: 0.5505 MB / 1.076 GB, free: 143.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002849/1.237, allocations: 140.3 kB / 1.076 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.401e-05/1.237, allocations: 6.844 kB / 1.076 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004246/1.237, allocations: 28.45 kB / 1.076 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/1.238, allocations: 27.59 kB / 1.076 GB, free: 143 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/1.238, allocations: 5.844 kB / 1.076 GB, free: 143 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003854/1.238, allocations: 235.7 kB / 1.076 GB, free: 142.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.2e-07/1.238, allocations: 0 / 1.076 GB, free: 142.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000685/1.239, allocations: 93.81 kB / 1.076 GB, free: 142.9 MB / 0.698 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 (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 Backend phase and start with SimCode phase: time 0.0001938/1.239, allocations: 122 kB / 1.076 GB, free: 142.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001428/1.24, allocations: 0.6311 MB / 1.077 GB, free: 142.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.24, allocations: 0 / 1.077 GB, free: 142.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006945/1.241, allocations: 431.8 kB / 1.077 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/1.242, allocations: 119.7 kB / 1.078 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/1.244, allocations: 0.8729 MB / 1.078 GB, free: 141.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/1.245, allocations: 0.8267 MB / 1.079 GB, free: 141 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004934/1.245, allocations: 76.53 kB / 1.079 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/1.245, allocations: 27.34 kB / 1.079 GB, free: 140.9 MB / 0.698 GB Notification: Performance of SimCode: time 1.232e-06/1.245, allocations: 0 / 1.079 GB, free: 140.9 MB / 0.698 GB Notification: Performance of Templates: time 0.01502/1.26, allocations: 4.327 MB / 1.084 GB, free: 140.7 MB / 0.698 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)