Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 112.4 kB / 17.04 MB, free: 5.797 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.0009983/0.0009984, allocations: 195 kB / 17.98 MB, free: 5.02 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.306/1.306, allocations: 222.9 MB / 241.7 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7363/0.7363, allocations: 115.1 MB / 406.9 MB, free: 6.305 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 59.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3477, allocations: 76.15 MB / 0.5576 GB, free: 36.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005772/0.3535, allocations: 4.846 MB / 0.5623 GB, free: 33.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003886/0.3574, allocations: 2.446 MB / 0.5647 GB, free: 31.87 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004355/0.3579, allocations: 24.38 kB / 0.5647 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.359, allocations: 397 kB / 0.5651 GB, free: 31.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.3601, allocations: 448.4 kB / 0.5655 GB, free: 31.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009095/0.361, allocations: 367.4 kB / 0.5659 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009898/0.362, allocations: 0.9165 MB / 0.5668 GB, free: 30.78 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000531/0.3625, allocations: 351.8 kB / 0.5671 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004193/0.363, allocations: 342.1 kB / 0.5674 GB, free: 30.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004338/0.3634, allocations: 351.6 kB / 0.5678 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.507e-05/0.3635, allocations: 37.44 kB / 0.5678 GB, free: 30.36 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007543/0.3642, allocations: 397.2 kB / 0.5682 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.3644, allocations: 185.8 kB / 0.5684 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003319/0.3648, allocations: 322.4 kB / 0.5687 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.366, allocations: 0.8811 MB / 0.5695 GB, free: 29.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.366, allocations: 0.5 kB / 0.5695 GB, free: 29.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.366, allocations: 5.312 kB / 0.5695 GB, free: 29.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.366, allocations: 1.156 kB / 0.5695 GB, free: 29.64 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001297/0.3673, allocations: 0.937 MB / 0.5705 GB, free: 28.94 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.3674, allocations: 8.875 kB / 0.5705 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001293/0.3687, allocations: 207.2 kB / 0.5707 GB, free: 28.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.3697, allocations: 0.53 MB / 0.5712 GB, free: 28.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.268e-05/0.3698, allocations: 37.33 kB / 0.5712 GB, free: 28.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-05/0.3699, allocations: 50.84 kB / 0.5713 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.3712, allocations: 0.8469 MB / 0.5721 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.3712, allocations: 9 kB / 0.5721 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.249e-05/0.3713, allocations: 19.88 kB / 0.5721 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/0.3714, allocations: 66.02 kB / 0.5722 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008836/0.3723, allocations: 0.5659 MB / 0.5727 GB, free: 27.71 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003546/0.3758, allocations: 5.649 MB / 0.5782 GB, free: 22.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005918/0.3764, allocations: 458.7 kB / 0.5787 GB, free: 22.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002929/0.3767, allocations: 232.5 kB / 0.5789 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.3768, allocations: 3.031 kB / 0.5789 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.3768, allocations: 37.83 kB / 0.5789 GB, free: 22.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 1.833e-06/0.3768, allocations: 0 / 0.5789 GB, free: 22.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002379/0.3792, allocations: 1.51 MB / 0.5804 GB, free: 21.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.3792, allocations: 56.12 kB / 0.5805 GB, free: 21.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005091/0.3797, allocations: 0.4891 MB / 0.5809 GB, free: 21.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.3798, allocations: 30.89 kB / 0.581 GB, free: 21.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.38, allocations: 348.1 kB / 0.5813 GB, free: 20.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.601e-05/0.38, allocations: 123 kB / 0.5814 GB, free: 20.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.3802, allocations: 107.2 kB / 0.5815 GB, free: 20.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.07e-05/0.3803, allocations: 368.2 kB / 0.5819 GB, free: 20.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.3806, allocations: 191.8 kB / 0.5821 GB, free: 20.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/0.3809, allocations: 449 kB / 0.5825 GB, free: 19.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006604/0.3816, allocations: 0.6885 MB / 0.5832 GB, free: 19.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.3816, allocations: 2.219 kB / 0.5832 GB, free: 19.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001199/0.3828, allocations: 0.8136 MB / 0.584 GB, free: 18.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.3829, allocations: 8.469 kB / 0.584 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.3829, allocations: 16.31 kB / 0.584 GB, free: 18.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004652/0.3833, allocations: 157.4 kB / 0.5841 GB, free: 18.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004432/0.3838, allocations: 121.2 kB / 0.5843 GB, free: 18.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.3862, allocations: 4.343 MB / 0.5885 GB, free: 14.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/0.3867, allocations: 33.09 kB / 0.5885 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.121e-05/0.3867, allocations: 27.5 kB / 0.5885 GB, free: 14.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002676/0.387, allocations: 219.6 kB / 0.5888 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.182e-05/0.3871, allocations: 61.66 kB / 0.5888 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009529/0.3881, allocations: 0.5972 MB / 0.5894 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.3881, allocations: 2.875 kB / 0.5894 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3881, allocations: 2.406 kB / 0.5894 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.3881, allocations: 2.062 kB / 0.5894 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.3898, allocations: 1.254 MB / 0.5906 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.3899, allocations: 6.891 kB / 0.5906 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.3901, allocations: 58.27 kB / 0.5907 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003751/0.3905, allocations: 143.8 kB / 0.5908 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.3905, allocations: 10.81 kB / 0.5908 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002667/0.3932, allocations: 4.341 MB / 0.5951 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.98e-06/0.3932, allocations: 6.406 kB / 0.5951 GB, free: 8.988 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.3943, allocations: 0.7026 MB / 0.5958 GB, free: 8.574 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002812/0.3946, allocations: 166.8 kB / 0.5959 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.307e-05/0.3947, allocations: 12.97 kB / 0.5959 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.3949, allocations: 26.2 kB / 0.596 GB, free: 8.422 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.207e-05/0.395, allocations: 38.88 kB / 0.596 GB, free: 8.406 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.169e-05/0.395, allocations: 8.734 kB / 0.596 GB, free: 8.406 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003768/0.3954, allocations: 333.4 kB / 0.5963 GB, free: 8.254 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3954, allocations: 0 / 0.5963 GB, free: 8.254 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007006/0.3961, allocations: 138.8 kB / 0.5965 GB, free: 8.242 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001289/0.3963, allocations: 112.2 kB / 0.5966 GB, free: 8.141 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.3976, allocations: 1.041 MB / 0.5976 GB, free: 7.352 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3976, allocations: 0 / 0.5976 GB, free: 7.352 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006313/0.3982, allocations: 0.7349 MB / 0.5983 GB, free: 6.688 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008868/0.3991, allocations: 209.1 kB / 0.5985 GB, free: 6.586 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.4005, allocations: 1.039 MB / 0.5995 GB, free: 5.898 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.4008, allocations: 0.9037 MB / 0.6004 GB, free: 5.098 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003037/0.4011, allocations: 118.8 kB / 0.6005 GB, free: 5.043 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.367e-05/0.4012, allocations: 37.84 kB / 0.6006 GB, free: 5.039 MB / 446.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4013, allocations: 5.312 kB / 0.6006 GB, free: 5.035 MB / 446.1 MB Notification: Performance of Templates: time 0.01142/0.4127, allocations: 7.582 MB / 0.608 GB, free: 14.88 MB / 462.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)