Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.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.001385/0.001386, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 189.5 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.883/1.883, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001514/0.001515, allocations: 73.08 kB / 0.6723 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.254, allocations: 114.5 MB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007464/0.2615, allocations: 4.862 MB / 0.7889 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004577/0.2661, allocations: 2.488 MB / 0.7913 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003682/0.2665, allocations: 23.81 kB / 0.7913 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001233/0.2678, allocations: 401 kB / 0.7917 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0009689/0.2688, allocations: 449.6 kB / 0.7921 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008531/0.2696, allocations: 370.2 kB / 0.7925 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001103/0.2708, allocations: 0.9173 MB / 0.7934 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005478/0.2713, allocations: 358.4 kB / 0.7937 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004307/0.2718, allocations: 346.7 kB / 0.7941 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004607/0.2722, allocations: 342.5 kB / 0.7944 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.206e-05/0.2723, allocations: 40 kB / 0.7944 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006467/0.273, allocations: 395.1 kB / 0.7948 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.2732, allocations: 175.5 kB / 0.795 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003003/0.2735, allocations: 326.2 kB / 0.7953 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.2747, allocations: 0.8837 MB / 0.7961 GB, free: 384 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2747, allocations: 0 / 0.7961 GB, free: 384 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2747, allocations: 0 / 0.7961 GB, free: 384 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.676e-05/0.2748, allocations: 4 kB / 0.7961 GB, free: 380 kB / 0.6075 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.00152/0.2763, allocations: 0.9385 MB / 0.7971 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.2763, allocations: 8.031 kB / 0.7971 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/0.2776, allocations: 199.9 kB / 0.7973 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.2787, allocations: 0.5295 MB / 0.7978 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.45e-05/0.2788, allocations: 37.36 kB / 0.7978 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.96e-05/0.2789, allocations: 52.34 kB / 0.7979 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.28, allocations: 0.8485 MB / 0.7987 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/0.28, allocations: 11.94 kB / 0.7987 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.901e-05/0.28, allocations: 20 kB / 0.7987 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.512e-05/0.2801, allocations: 64.89 kB / 0.7988 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008926/0.281, allocations: 0.5734 MB / 0.7993 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004995/0.286, allocations: 5.639 MB / 0.8048 GB, free: 6.836 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006358/0.2867, allocations: 466.2 kB / 0.8053 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000396/0.2871, allocations: 228.7 kB / 0.8055 GB, free: 6.145 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.104e-05/0.2871, allocations: 4 kB / 0.8055 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.2872, allocations: 34.56 kB / 0.8055 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=32): time 2.234e-06/0.2872, allocations: 0 / 0.8055 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33): time 0.00255/0.2897, allocations: 1.506 MB / 0.807 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.2898, allocations: 59.41 kB / 0.8071 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005403/0.2903, allocations: 499 kB / 0.8076 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 9.365e-05/0.2904, allocations: 33.7 kB / 0.8076 GB, free: 3.871 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003404/0.2908, allocations: 354.8 kB / 0.8079 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.837e-05/0.2909, allocations: 122.3 kB / 0.808 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.2911, allocations: 110.2 kB / 0.8081 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2912, allocations: 358.8 kB / 0.8085 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002875/0.2915, allocations: 201.2 kB / 0.8087 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000563/0.2921, allocations: 443 kB / 0.8091 GB, free: 2.176 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.2931, allocations: 0.6847 MB / 0.8098 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.2931, allocations: 4 kB / 0.8098 GB, free: 1.371 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001319/0.2945, allocations: 0.8132 MB / 0.8106 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.2945, allocations: 8.938 kB / 0.8106 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.2945, allocations: 11.98 kB / 0.8106 GB, free: 0.5156 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005555/0.2951, allocations: 156.7 kB / 0.8107 GB, free: 356 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004249/0.2955, allocations: 119.8 kB / 0.8109 GB, free: 236 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004267/0.2998, allocations: 4.34 MB / 0.8151 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004425/0.3003, allocations: 35.97 kB / 0.8151 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.3003, allocations: 28 kB / 0.8152 GB, free: 11.41 MB / 0.6387 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 (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.0002915/0.3006, allocations: 219.8 kB / 0.8154 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.3007, allocations: 63.25 kB / 0.8154 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.3018, allocations: 0.6045 MB / 0.816 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.3018, allocations: 4 kB / 0.816 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3018, allocations: 0 / 0.816 GB, free: 10.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.3018, allocations: 7.922 kB / 0.816 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.3035, allocations: 1.259 MB / 0.8173 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.3035, allocations: 4 kB / 0.8173 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.3038, allocations: 47.95 kB / 0.8173 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003981/0.3042, allocations: 148.3 kB / 0.8174 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.3042, allocations: 11.94 kB / 0.8175 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003784/0.308, allocations: 4.329 MB / 0.8217 GB, free: 4.164 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.3081, allocations: 7.969 kB / 0.8217 GB, free: 4.156 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009574/0.309, allocations: 0.7121 MB / 0.8224 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00022/0.3092, allocations: 172.2 kB / 0.8225 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.465e-05/0.3093, allocations: 11.98 kB / 0.8226 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.3096, allocations: 23.95 kB / 0.8226 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.999e-05/0.3097, allocations: 31.91 kB / 0.8226 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.3097, allocations: 12 kB / 0.8226 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004163/0.3101, allocations: 330.8 kB / 0.8229 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3101, allocations: 0 / 0.8229 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0006536/0.3108, allocations: 144 kB / 0.8231 GB, free: 2.664 MB / 0.6387 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 (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.0001645/0.3109, allocations: 111.1 kB / 0.8232 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001438/0.3124, allocations: 1.048 MB / 0.8242 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.186e-06/0.3124, allocations: 4.125 kB / 0.8242 GB, free: 1.41 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009261/0.3133, allocations: 0.7312 MB / 0.8249 GB, free: 0.5977 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009625/0.3143, allocations: 201.1 kB / 0.8251 GB, free: 416 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.3159, allocations: 1.026 MB / 0.8261 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000478/0.3164, allocations: 0.898 MB / 0.827 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003422/0.3168, allocations: 117.3 kB / 0.8271 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.984e-05/0.3169, allocations: 39.44 kB / 0.8271 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of SimCode: time 3.41e-07/0.3169, allocations: 0 / 0.8271 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.01578/0.3327, allocations: 7.591 MB / 0.8346 GB, free: 6.754 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)