Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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: translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001356/0.001356, allocations: 105.3 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.001293/0.001293, allocations: 189.8 kB / 17.2 MB, free: 5.609 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.521/1.521, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8245/0.8245, allocations: 126.7 MB / 417.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.00196, allocations: 55.91 kB / 0.4958 GB, free: 2.816 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4187, allocations: 78.85 MB / 0.5728 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005306/0.4241, allocations: 3.745 MB / 0.5764 GB, free: 28.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003652/0.4278, allocations: 1.789 MB / 0.5782 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005313/0.4283, allocations: 17.69 kB / 0.5782 GB, free: 27.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.4295, allocations: 272.4 kB / 0.5784 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001113/0.4307, allocations: 292.9 kB / 0.5787 GB, free: 26.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007255/0.4314, allocations: 247.3 kB / 0.579 GB, free: 26.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007579/0.4322, allocations: 0.6041 MB / 0.5795 GB, free: 26.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000511/0.4327, allocations: 261.8 kB / 0.5798 GB, free: 26.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004019/0.4331, allocations: 223.1 kB / 0.58 GB, free: 25.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003419/0.4335, allocations: 238.9 kB / 0.5802 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.778e-05/0.4335, allocations: 26.12 kB / 0.5803 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006627/0.4342, allocations: 275.2 kB / 0.5805 GB, free: 25.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.4343, allocations: 130 kB / 0.5807 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002147/0.4346, allocations: 207.7 kB / 0.5808 GB, free: 25.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007364/0.4353, allocations: 0.5803 MB / 0.5814 GB, free: 25.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.4353, allocations: 1.25 kB / 0.5814 GB, free: 25.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4353, allocations: 0 / 0.5814 GB, free: 25.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.4354, allocations: 1.688 kB / 0.5814 GB, free: 25.05 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001207/0.4366, allocations: 0.7298 MB / 0.5821 GB, free: 24.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.4366, allocations: 14.16 kB / 0.5821 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008959/0.4375, allocations: 134.6 kB / 0.5823 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004101/0.4379, allocations: 375.3 kB / 0.5826 GB, free: 24.03 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.438, allocations: 25.27 kB / 0.5827 GB, free: 24.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.333e-05/0.4381, allocations: 31.66 kB / 0.5827 GB, free: 24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000732/0.4388, allocations: 0.5594 MB / 0.5832 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.4388, allocations: 6.562 kB / 0.5832 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/0.4389, allocations: 13.41 kB / 0.5832 GB, free: 23.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.085e-05/0.4389, allocations: 42.91 kB / 0.5833 GB, free: 23.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006671/0.4396, allocations: 401.3 kB / 0.5837 GB, free: 23.35 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002286/0.4419, allocations: 3.341 MB / 0.5869 GB, free: 20.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006407/0.4426, allocations: 337.5 kB / 0.5873 GB, free: 20 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.4429, allocations: 175.9 kB / 0.5874 GB, free: 19.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.4429, allocations: 3.844 kB / 0.5874 GB, free: 19.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.4429, allocations: 40.92 kB / 0.5875 GB, free: 19.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.914e-06/0.4429, allocations: 0 / 0.5875 GB, free: 19.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.002052/0.445, allocations: 1.057 MB / 0.5885 GB, free: 19.13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.4451, allocations: 56.77 kB / 0.5886 GB, free: 19.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.4454, allocations: 342.3 kB / 0.5889 GB, free: 18.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.4454, allocations: 28.36 kB / 0.5889 GB, free: 18.81 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.4456, allocations: 249.8 kB / 0.5891 GB, free: 18.58 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.74e-05/0.4456, allocations: 99.97 kB / 0.5892 GB, free: 18.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.4457, allocations: 72.36 kB / 0.5893 GB, free: 18.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.543e-05/0.4458, allocations: 349.2 kB / 0.5896 GB, free: 18.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002578/0.4461, allocations: 147.3 kB / 0.5898 GB, free: 18.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/0.4464, allocations: 299.8 kB / 0.5901 GB, free: 17.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006051/0.447, allocations: 479.9 kB / 0.5905 GB, free: 17.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.447, allocations: 0.9688 kB / 0.5905 GB, free: 17.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009062/0.4479, allocations: 0.5709 MB / 0.5911 GB, free: 17.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.448, allocations: 8.812 kB / 0.5911 GB, free: 17.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.448, allocations: 5.5 kB / 0.5911 GB, free: 17.12 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003141/0.4483, allocations: 84.27 kB / 0.5912 GB, free: 17.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003478/0.4487, allocations: 93.31 kB / 0.5913 GB, free: 17.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.4487, allocations: 6.469 kB / 0.5913 GB, free: 17.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.449, allocations: 29.09 kB / 0.5913 GB, free: 17.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.374e-05/0.449, allocations: 18.19 kB / 0.5913 GB, free: 17.02 MB / 446.1 MB 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.0001941/0.4492, allocations: 181.9 kB / 0.5915 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.269e-05/0.4493, allocations: 39.89 kB / 0.5915 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007878/0.4501, allocations: 467 kB / 0.592 GB, free: 16.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.4501, allocations: 3 kB / 0.592 GB, free: 16.55 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4502, allocations: 5.25 kB / 0.592 GB, free: 16.55 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.4502, allocations: 3.984 kB / 0.592 GB, free: 16.55 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.4514, allocations: 0.9616 MB / 0.5929 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.4514, allocations: 1.5 kB / 0.5929 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.4516, allocations: 55.36 kB / 0.593 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002115/0.4519, allocations: 85.22 kB / 0.5931 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.4519, allocations: 5.188 kB / 0.5931 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.4519, allocations: 2.781 kB / 0.5931 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4519, allocations: 1.344 kB / 0.5931 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007197/0.4526, allocations: 0.5483 MB / 0.5936 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.4528, allocations: 133.3 kB / 0.5937 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.761e-05/0.4528, allocations: 6.406 kB / 0.5937 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.4531, allocations: 22.66 kB / 0.5938 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.946e-05/0.4531, allocations: 26.56 kB / 0.5938 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.4532, allocations: 5.438 kB / 0.5938 GB, free: 15.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002109/0.4534, allocations: 238 kB / 0.594 GB, free: 15.05 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4534, allocations: 0 / 0.594 GB, free: 15.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004635/0.4539, allocations: 88.88 kB / 0.5941 GB, free: 15.04 MB / 446.1 MB 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.0001279/0.454, allocations: 108.8 kB / 0.5942 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008142/0.4548, allocations: 0.6605 MB / 0.5949 GB, free: 14.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4548, allocations: 0 / 0.5949 GB, free: 14.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00031/0.4551, allocations: 434.7 kB / 0.5953 GB, free: 13.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006642/0.4558, allocations: 138 kB / 0.5954 GB, free: 13.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009892/0.4568, allocations: 0.7273 MB / 0.5961 GB, free: 12.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.4571, allocations: 0.8234 MB / 0.5969 GB, free: 12.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000234/0.4573, allocations: 79.36 kB / 0.597 GB, free: 12.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.085e-05/0.4574, allocations: 35.42 kB / 0.597 GB, free: 11.98 MB / 446.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4574, allocations: 0 / 0.597 GB, free: 11.98 MB / 446.1 MB Notification: Performance of Templates: time 0.008281/0.4657, allocations: 4.665 MB / 0.6016 GB, free: 7.391 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)