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.001134/0.001139, allocations: 91.69 kB / 16.67 MB, free: 5.742 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.001032/0.001032, allocations: 180.7 kB / 17.57 MB, free: 5.477 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.38/1.38, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7295/0.7295, allocations: 115.5 MB / 408.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003339, allocations: 12 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3826, allocations: 77.51 MB / 0.5606 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005192/0.3878, allocations: 4.463 MB / 0.5649 GB, free: 33.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00396/0.3918, allocations: 2.434 MB / 0.5673 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003796/0.3922, allocations: 22.66 kB / 0.5673 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.3926, allocations: 89.59 kB / 0.5674 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00105/0.3936, allocations: 417.7 kB / 0.5678 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008908/0.3945, allocations: 341.1 kB / 0.5682 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00155/0.3961, allocations: 1.126 MB / 0.5693 GB, free: 30.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.3971, allocations: 460.7 kB / 0.5697 GB, free: 30.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005127/0.3976, allocations: 290.7 kB / 0.57 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005472/0.3982, allocations: 338.8 kB / 0.5703 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.298e-05/0.3983, allocations: 19.66 kB / 0.5703 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001109/0.3994, allocations: 0.4902 MB / 0.5708 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000239/0.3996, allocations: 159.6 kB / 0.5709 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003446/0.4, allocations: 315.3 kB / 0.5712 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.4012, allocations: 0.6595 MB / 0.5719 GB, free: 29.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4012, allocations: 2.344 kB / 0.5719 GB, free: 29.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.4012, allocations: 0 / 0.5719 GB, free: 29.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.4012, allocations: 0.9375 kB / 0.5719 GB, free: 29.45 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.00156/0.4028, allocations: 0.8218 MB / 0.5727 GB, free: 28.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.458e-05/0.4029, allocations: 14.28 kB / 0.5727 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/0.4043, allocations: 208.9 kB / 0.5729 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006785/0.405, allocations: 486.3 kB / 0.5734 GB, free: 28.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.4051, allocations: 35.95 kB / 0.5734 GB, free: 28.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.03e-05/0.4051, allocations: 44.2 kB / 0.5734 GB, free: 28.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.4063, allocations: 0.8538 MB / 0.5743 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.4063, allocations: 11.47 kB / 0.5743 GB, free: 27.81 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.416e-05/0.4064, allocations: 20.91 kB / 0.5743 GB, free: 27.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/0.4065, allocations: 67.03 kB / 0.5744 GB, free: 27.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008234/0.4073, allocations: 0.5701 MB / 0.5749 GB, free: 27.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003463/0.4108, allocations: 5.647 MB / 0.5804 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006658/0.4115, allocations: 455 kB / 0.5809 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003146/0.4118, allocations: 230.7 kB / 0.5811 GB, free: 22.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.4118, allocations: 6.203 kB / 0.5811 GB, free: 22.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.4118, allocations: 38.5 kB / 0.5811 GB, free: 22.19 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 2.365e-06/0.4119, allocations: 0 / 0.5811 GB, free: 22.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002505/0.4144, allocations: 1.507 MB / 0.5826 GB, free: 21.26 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.4144, allocations: 55.72 kB / 0.5827 GB, free: 21.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005317/0.4149, allocations: 0.4944 MB / 0.5832 GB, free: 20.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.415, allocations: 30.27 kB / 0.5832 GB, free: 20.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.4151, allocations: 353.6 kB / 0.5835 GB, free: 20.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.47e-05/0.4152, allocations: 117.2 kB / 0.5836 GB, free: 20.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.496e-05/0.4153, allocations: 54.89 kB / 0.5837 GB, free: 20.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.793e-05/0.4154, allocations: 365.1 kB / 0.584 GB, free: 20.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/0.4157, allocations: 198.2 kB / 0.5842 GB, free: 20.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.4161, allocations: 444.6 kB / 0.5846 GB, free: 19.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007784/0.4169, allocations: 0.6941 MB / 0.5853 GB, free: 19.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4169, allocations: 1.562 kB / 0.5853 GB, free: 19.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001272/0.4181, allocations: 0.8126 MB / 0.5861 GB, free: 18.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.4182, allocations: 8.031 kB / 0.5861 GB, free: 18.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.4182, allocations: 9.859 kB / 0.5861 GB, free: 18.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004933/0.4187, allocations: 156.6 kB / 0.5863 GB, free: 18.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004528/0.4192, allocations: 125.6 kB / 0.5864 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/0.4215, allocations: 4.031 MB / 0.5903 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004318/0.422, allocations: 32.95 kB / 0.5904 GB, free: 14.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.271e-05/0.422, allocations: 32.56 kB / 0.5904 GB, free: 14.77 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.0002651/0.4223, allocations: 217.4 kB / 0.5906 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.224e-05/0.4224, allocations: 60.72 kB / 0.5907 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.4234, allocations: 0.5953 MB / 0.5912 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.4234, allocations: 3.531 kB / 0.5913 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4235, allocations: 1.312 kB / 0.5913 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.4235, allocations: 6.906 kB / 0.5913 GB, free: 14.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.4252, allocations: 1.254 MB / 0.5925 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.4252, allocations: 5.125 kB / 0.5925 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002544/0.4255, allocations: 59.83 kB / 0.5925 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003905/0.4259, allocations: 146.8 kB / 0.5927 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.4259, allocations: 7.844 kB / 0.5927 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/0.4281, allocations: 4.038 MB / 0.5966 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4281, allocations: 1.188 kB / 0.5966 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009619/0.4291, allocations: 0.7067 MB / 0.5973 GB, free: 9.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/0.4293, allocations: 161.4 kB / 0.5975 GB, free: 8.926 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.989e-05/0.4293, allocations: 11 kB / 0.5975 GB, free: 8.918 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.4296, allocations: 30.75 kB / 0.5975 GB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.238e-05/0.4297, allocations: 38.05 kB / 0.5976 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.4297, allocations: 8.094 kB / 0.5976 GB, free: 8.875 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003359/0.43, allocations: 334.6 kB / 0.5979 GB, free: 8.676 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4301, allocations: 0 / 0.5979 GB, free: 8.676 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006816/0.4307, allocations: 139.1 kB / 0.598 GB, free: 8.664 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.0001212/0.4309, allocations: 114.1 kB / 0.5981 GB, free: 8.559 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001182/0.4321, allocations: 1.032 MB / 0.5991 GB, free: 7.758 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4321, allocations: 0 / 0.5991 GB, free: 7.758 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006721/0.4327, allocations: 0.7391 MB / 0.5999 GB, free: 7.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.4338, allocations: 191.6 kB / 0.6 GB, free: 6.996 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.4354, allocations: 1.309 MB / 0.6013 GB, free: 6.039 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.4357, allocations: 0.9075 MB / 0.6022 GB, free: 5.234 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/0.4358, allocations: 42.59 kB / 0.6022 GB, free: 5.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4358, allocations: 0 / 0.6022 GB, free: 5.23 MB / 446.1 MB Notification: Performance of Templates: time 0.02089/0.4567, allocations: 17.91 MB / 0.6197 GB, free: 4.531 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)