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.001595/0.001595, allocations: 105.8 kB / 15.99 MB, free: 6.352 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.001764/0.001764, allocations: 191.1 kB / 16.91 MB, free: 6.195 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.346/1.346, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.876/0.876, allocations: 122.9 MB / 413.6 MB, free: 24 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001542/0.001542, allocations: 60.09 kB / 0.4906 GB, free: 7.824 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3756, allocations: 77.92 MB / 0.5667 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005981/0.3816, allocations: 4.868 MB / 0.5714 GB, free: 29.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00393/0.3856, allocations: 2.422 MB / 0.5738 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005098/0.3861, allocations: 22.38 kB / 0.5738 GB, free: 27.72 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.3873, allocations: 364.1 kB / 0.5742 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.3885, allocations: 417.6 kB / 0.5746 GB, free: 27.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009419/0.3895, allocations: 338.9 kB / 0.5749 GB, free: 27.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001169/0.3906, allocations: 0.9154 MB / 0.5758 GB, free: 26.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007119/0.3914, allocations: 410.3 kB / 0.5762 GB, free: 26.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005684/0.3919, allocations: 343.2 kB / 0.5765 GB, free: 26.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004948/0.3925, allocations: 353 kB / 0.5768 GB, free: 26.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.156e-05/0.3925, allocations: 37.22 kB / 0.5769 GB, free: 26.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000916/0.3935, allocations: 406 kB / 0.5773 GB, free: 26.08 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002135/0.3937, allocations: 179.2 kB / 0.5774 GB, free: 26 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003251/0.394, allocations: 320.8 kB / 0.5777 GB, free: 25.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.3952, allocations: 0.8988 MB / 0.5786 GB, free: 25.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.3952, allocations: 4 kB / 0.5786 GB, free: 25.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3952, allocations: 0 / 0.5786 GB, free: 25.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.3952, allocations: 2.25 kB / 0.5786 GB, free: 25.49 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.001257/0.3965, allocations: 0.9352 MB / 0.5795 GB, free: 24.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.3965, allocations: 12.16 kB / 0.5796 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.3978, allocations: 203.4 kB / 0.5798 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006329/0.3984, allocations: 490.9 kB / 0.5802 GB, free: 24.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.3985, allocations: 35.3 kB / 0.5803 GB, free: 24.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.726e-05/0.3986, allocations: 44.83 kB / 0.5803 GB, free: 24.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.3996, allocations: 0.8539 MB / 0.5811 GB, free: 23.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.3996, allocations: 11.16 kB / 0.5811 GB, free: 23.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.125e-05/0.3997, allocations: 21.19 kB / 0.5812 GB, free: 23.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.272e-05/0.3998, allocations: 62.23 kB / 0.5812 GB, free: 23.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007941/0.4006, allocations: 0.5732 MB / 0.5818 GB, free: 23.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003223/0.4038, allocations: 5.653 MB / 0.5873 GB, free: 17.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006123/0.4044, allocations: 453 kB / 0.5877 GB, free: 17.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002896/0.4047, allocations: 231.5 kB / 0.588 GB, free: 17.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.4048, allocations: 7.516 kB / 0.588 GB, free: 17.61 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.4048, allocations: 35.41 kB / 0.588 GB, free: 17.57 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 2.134e-06/0.4048, allocations: 0 / 0.588 GB, free: 17.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=33): time 0.002412/0.4072, allocations: 1.505 MB / 0.5895 GB, free: 16.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.4073, allocations: 55.56 kB / 0.5895 GB, free: 16.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005481/0.4079, allocations: 499.4 kB / 0.59 GB, free: 16.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.4079, allocations: 31.11 kB / 0.59 GB, free: 16.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.4081, allocations: 360.6 kB / 0.5904 GB, free: 15.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.433e-05/0.4082, allocations: 117.5 kB / 0.5905 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/0.4083, allocations: 112.2 kB / 0.5906 GB, free: 15.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.757e-05/0.4085, allocations: 363.4 kB / 0.5909 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/0.4087, allocations: 193.8 kB / 0.5911 GB, free: 15.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004257/0.4092, allocations: 450.8 kB / 0.5915 GB, free: 14.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007618/0.4099, allocations: 0.6968 MB / 0.5922 GB, free: 14.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.41, allocations: 2.438 kB / 0.5922 GB, free: 14.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001297/0.4113, allocations: 0.8108 MB / 0.593 GB, free: 13.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.4113, allocations: 12.56 kB / 0.593 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.4113, allocations: 9.094 kB / 0.593 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000561/0.4119, allocations: 157.5 kB / 0.5932 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004586/0.4124, allocations: 126.8 kB / 0.5933 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002421/0.4148, allocations: 4.335 MB / 0.5975 GB, free: 9.129 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004586/0.4153, allocations: 38.19 kB / 0.5976 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.4153, allocations: 26.59 kB / 0.5976 GB, free: 9.105 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.0003284/0.4157, allocations: 226 kB / 0.5978 GB, free: 8.914 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.4158, allocations: 61.59 kB / 0.5979 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.4168, allocations: 0.5985 MB / 0.5985 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.4168, allocations: 7.375 kB / 0.5985 GB, free: 8.504 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4168, allocations: 5.062 kB / 0.5985 GB, free: 8.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.4168, allocations: 5.047 kB / 0.5985 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001638/0.4185, allocations: 1.259 MB / 0.5997 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.4185, allocations: 1.438 kB / 0.5997 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.4188, allocations: 50.48 kB / 0.5998 GB, free: 7.566 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003745/0.4191, allocations: 148.3 kB / 0.5999 GB, free: 7.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.4192, allocations: 11.94 kB / 0.5999 GB, free: 7.398 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002214/0.4214, allocations: 4.336 MB / 0.6041 GB, free: 2.637 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4214, allocations: 4.031 kB / 0.6042 GB, free: 2.633 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008522/0.4223, allocations: 0.7115 MB / 0.6048 GB, free: 1.867 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001617/0.4224, allocations: 164.4 kB / 0.605 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.261e-05/0.4225, allocations: 8 kB / 0.605 GB, free: 1.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.4228, allocations: 19.97 kB / 0.605 GB, free: 1.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.4228, allocations: 35.89 kB / 0.6051 GB, free: 1.625 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.4229, allocations: 12 kB / 0.6051 GB, free: 1.613 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002944/0.4232, allocations: 334.8 kB / 0.6054 GB, free: 1.289 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4232, allocations: 0 / 0.6054 GB, free: 1.289 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006641/0.4238, allocations: 140 kB / 0.6055 GB, free: 1.152 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.0001178/0.424, allocations: 111.1 kB / 0.6056 GB, free: 1.031 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.4252, allocations: 1.088 MB / 0.6067 GB, free: 15.86 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.4252, allocations: 0 / 0.6067 GB, free: 15.86 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008354/0.426, allocations: 0.7276 MB / 0.6074 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009913/0.4271, allocations: 203.4 kB / 0.6076 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.4288, allocations: 1.263 MB / 0.6088 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/0.4293, allocations: 0.9059 MB / 0.6097 GB, free: 12.62 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003495/0.4296, allocations: 121.3 kB / 0.6098 GB, free: 12.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.4297, allocations: 39.44 kB / 0.6099 GB, free: 12.46 MB / 462.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4297, allocations: 3.938 kB / 0.6099 GB, free: 12.45 MB / 462.1 MB Notification: Performance of Templates: time 0.01374/0.4435, allocations: 7.636 MB / 0.6173 GB, free: 4.926 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)