Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.722/1.722, allocations: 288.4 MB / 303.7 MB, free: 8.84 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001178/0.001178, allocations: 176.5 kB / 372.3 MB, free: 6.43 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.823/1.823, allocations: 205.4 MB / 0.631 GB, free: 13.43 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009565/0.0009558, allocations: 96.5 kB / 0.7444 GB, free: 64.6 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00046/0.0004603, allocations: 16 kB / 0.8675 GB, free: 0.5625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2986, allocations: 115.3 MB / 0.9801 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006298/0.3049, allocations: 4.263 MB / 0.9843 GB, free: 8.793 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004654/0.3096, allocations: 2.353 MB / 0.9866 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007216/0.3104, allocations: 19.81 kB / 0.9866 GB, free: 6.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0005656/0.311, allocations: 95.14 kB / 0.9867 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001623/0.3126, allocations: 390.1 kB / 0.9871 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.3139, allocations: 315.4 kB / 0.9874 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001616/0.3155, allocations: 0.9757 MB / 0.9883 GB, free: 4.648 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.3167, allocations: 468.3 kB / 0.9888 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008125/0.3175, allocations: 298.6 kB / 0.9891 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007538/0.3183, allocations: 318.6 kB / 0.9894 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.3184, allocations: 23.98 kB / 0.9894 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.3195, allocations: 475 kB / 0.9898 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0002913/0.3199, allocations: 159.5 kB / 0.99 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0005517/0.3204, allocations: 300.2 kB / 0.9903 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.3214, allocations: 0.6548 MB / 0.9909 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3215, allocations: 0 / 0.9909 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.166e-06/0.3215, allocations: 0 / 0.9909 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.809e-05/0.3215, allocations: 7.938 kB / 0.9909 GB, free: 1.949 MB / 0.7136 GB 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.001743/0.3233, allocations: 0.8276 MB / 0.9917 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.3233, allocations: 8.031 kB / 0.9917 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/0.3248, allocations: 203.9 kB / 0.9919 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008837/0.3257, allocations: 498.3 kB / 0.9924 GB, free: 348 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.467e-05/0.3258, allocations: 37.36 kB / 0.9924 GB, free: 308 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.751e-05/0.3259, allocations: 40.38 kB / 0.9925 GB, free: 268 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.3271, allocations: 0.8446 MB / 0.9933 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/0.3271, allocations: 7.938 kB / 0.9933 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.567e-05/0.3272, allocations: 23.98 kB / 0.9933 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.922e-05/0.3273, allocations: 68.89 kB / 0.9934 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009093/0.3282, allocations: 0.5656 MB / 0.994 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00474/0.333, allocations: 5.646 MB / 0.9995 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006413/0.3336, allocations: 454.2 kB / 0.9999 GB, free: 8.129 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/0.3339, allocations: 228.7 kB / 1 GB, free: 7.902 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.029e-05/0.334, allocations: 4 kB / 1 GB, free: 7.898 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.334, allocations: 34.56 kB / 1 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 3.587e-06/0.334, allocations: 4 kB / 1 GB, free: 7.852 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.00271/0.3368, allocations: 1.507 MB / 1.002 GB, free: 6.23 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.3368, allocations: 55.41 kB / 1.002 GB, free: 6.164 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005477/0.3374, allocations: 495 kB / 1.002 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.3374, allocations: 29.7 kB / 1.002 GB, free: 5.633 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.3377, allocations: 358.8 kB / 1.003 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.3378, allocations: 122.3 kB / 1.003 GB, free: 5.156 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/0.3378, allocations: 12 kB / 1.003 GB, free: 5.145 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.338, allocations: 362.8 kB / 1.003 GB, free: 4.781 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.3383, allocations: 197.2 kB / 1.003 GB, free: 4.586 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.3387, allocations: 447 kB / 1.004 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007951/0.3395, allocations: 0.6797 MB / 1.004 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.3395, allocations: 4 kB / 1.004 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001366/0.3409, allocations: 0.8017 MB / 1.005 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.341, allocations: 9.875 kB / 1.005 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/0.341, allocations: 8 kB / 1.005 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005059/0.3415, allocations: 168.5 kB / 1.005 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004628/0.342, allocations: 119.8 kB / 1.005 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003409/0.3454, allocations: 4.044 MB / 1.009 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004457/0.3458, allocations: 31.97 kB / 1.009 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.604e-05/0.3459, allocations: 32 kB / 1.009 GB, free: 13.59 MB / 0.7448 GB 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003103/0.3462, allocations: 211.1 kB / 1.01 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.3463, allocations: 59.34 kB / 1.01 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009781/0.3473, allocations: 0.6007 MB / 1.01 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.3473, allocations: 4 kB / 1.01 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.3474, allocations: 7.984 kB / 1.01 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3474, allocations: 3.938 kB / 1.01 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001984/0.3494, allocations: 1.257 MB / 1.011 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.3494, allocations: 4 kB / 1.011 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002462/0.3496, allocations: 47.95 kB / 1.012 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004019/0.3501, allocations: 148.3 kB / 1.012 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.194e-05/0.3501, allocations: 8 kB / 1.012 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002929/0.353, allocations: 4.021 MB / 1.016 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.3531, allocations: 3.938 kB / 1.016 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.3541, allocations: 0.7038 MB / 1.016 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/0.3543, allocations: 172.2 kB / 1.016 GB, free: 5.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.784e-05/0.3544, allocations: 11.94 kB / 1.016 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.3547, allocations: 27.97 kB / 1.016 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-05/0.3548, allocations: 31.89 kB / 1.017 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.3548, allocations: 12 kB / 1.017 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003893/0.3552, allocations: 322.9 kB / 1.017 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3552, allocations: 0 / 1.017 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007959/0.356, allocations: 144 kB / 1.017 GB, free: 5.211 MB / 0.7448 GB 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001901/0.3562, allocations: 121.8 kB / 1.017 GB, free: 5.082 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001469/0.3577, allocations: 1.028 MB / 1.018 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3577, allocations: 3.938 kB / 1.018 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008056/0.3585, allocations: 0.735 MB / 1.019 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.3597, allocations: 188.7 kB / 1.019 GB, free: 2.969 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001867/0.3615, allocations: 1.212 MB / 1.02 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005016/0.362, allocations: 0.9058 MB / 1.021 GB, free: 0.7695 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003929/0.3624, allocations: 117.3 kB / 1.021 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.33e-05/0.3625, allocations: 39.44 kB / 1.021 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of SimCode: time 4.91e-07/0.3626, allocations: 4 kB / 1.021 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of Templates: time 0.4348/0.7974, allocations: 7.124 MB / 1.028 GB, free: 98.79 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)