Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, 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.002028/0.002028, allocations: 186.4 kB / 16.62 MB, free: 6.613 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.599/1.599, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.808/1.808, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001482/0.001482, allocations: 68.8 kB / 0.6723 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2294, allocations: 114.5 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005162/0.2346, allocations: 3.752 MB / 0.7878 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00351/0.2382, allocations: 1.829 MB / 0.7896 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003684/0.2386, allocations: 19.88 kB / 0.7896 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009823/0.2396, allocations: 262.7 kB / 0.7898 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007337/0.2404, allocations: 298.4 kB / 0.7901 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006011/0.241, allocations: 242.3 kB / 0.7904 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006101/0.2416, allocations: 0.6088 MB / 0.791 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004511/0.2421, allocations: 266.5 kB / 0.7912 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003078/0.2424, allocations: 235.1 kB / 0.7914 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003254/0.2427, allocations: 227 kB / 0.7916 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.562e-05/0.2428, allocations: 31.94 kB / 0.7917 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005128/0.2433, allocations: 271.5 kB / 0.7919 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.2435, allocations: 127.6 kB / 0.7921 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.2437, allocations: 210.8 kB / 0.7923 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000751/0.2445, allocations: 0.5879 MB / 0.7928 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2445, allocations: 0 / 0.7928 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.245e-06/0.2445, allocations: 0 / 0.7928 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.2445, allocations: 0 / 0.7928 GB, free: 3.734 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001258/0.2458, allocations: 0.7438 MB / 0.7936 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.2458, allocations: 8.031 kB / 0.7936 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008816/0.2467, allocations: 136.2 kB / 0.7937 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005554/0.2473, allocations: 411.6 kB / 0.7941 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.2473, allocations: 17.03 kB / 0.7941 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.407e-05/0.2474, allocations: 32.36 kB / 0.7941 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008299/0.2482, allocations: 0.5612 MB / 0.7947 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.2483, allocations: 3.938 kB / 0.7947 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.865e-05/0.2483, allocations: 12 kB / 0.7947 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.627e-05/0.2484, allocations: 44.53 kB / 0.7947 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007073/0.2491, allocations: 409.7 kB / 0.7951 GB, free: 1.211 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002961/0.2521, allocations: 3.333 MB / 0.7984 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006802/0.2528, allocations: 333.1 kB / 0.7987 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002968/0.2531, allocations: 180.8 kB / 0.7989 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.2531, allocations: 0 / 0.7989 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.2531, allocations: 38.56 kB / 0.7989 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=26): time 1.233e-06/0.2532, allocations: 0 / 0.7989 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of matching and sorting (n=27): time 0.002022/0.2552, allocations: 1.062 MB / 0.8 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.2552, allocations: 51.64 kB / 0.8 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.2556, allocations: 345.5 kB / 0.8003 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.2556, allocations: 33.7 kB / 0.8004 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.2558, allocations: 247.5 kB / 0.8006 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.858e-05/0.2559, allocations: 90.73 kB / 0.8007 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.256, allocations: 81.95 kB / 0.8008 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.2562, allocations: 342.8 kB / 0.8011 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.2565, allocations: 152.8 kB / 0.8012 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.2569, allocations: 286.5 kB / 0.8015 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006993/0.2576, allocations: 487.9 kB / 0.802 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2576, allocations: 0 / 0.802 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009946/0.2586, allocations: 0.5594 MB / 0.8025 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.2586, allocations: 15.94 kB / 0.8025 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.2586, allocations: 4 kB / 0.8025 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003431/0.259, allocations: 86.5 kB / 0.8026 GB, free: 9.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003667/0.2594, allocations: 87.83 kB / 0.8027 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.808e-05/0.2594, allocations: 11.98 kB / 0.8027 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002761/0.2597, allocations: 35.91 kB / 0.8028 GB, free: 8.887 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.2597, allocations: 20 kB / 0.8028 GB, free: 8.867 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002248/0.26, allocations: 173.6 kB / 0.8029 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.018e-05/0.26, allocations: 43.47 kB / 0.803 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009175/0.261, allocations: 480.2 kB / 0.8034 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.261, allocations: 4 kB / 0.8034 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.261, allocations: 0 / 0.8034 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.261, allocations: 0 / 0.8034 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.2625, allocations: 0.9615 MB / 0.8044 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.2625, allocations: 0 / 0.8044 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.2628, allocations: 51.89 kB / 0.8044 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002486/0.263, allocations: 82.52 kB / 0.8045 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.2631, allocations: 4 kB / 0.8045 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.2631, allocations: 7.938 kB / 0.8045 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2631, allocations: 0 / 0.8045 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008502/0.2639, allocations: 0.5429 MB / 0.8051 GB, free: 6.387 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.2641, allocations: 140.6 kB / 0.8052 GB, free: 6.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.892e-05/0.2641, allocations: 4 kB / 0.8052 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.2644, allocations: 23.97 kB / 0.8052 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.698e-05/0.2644, allocations: 23.91 kB / 0.8052 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.2645, allocations: 12 kB / 0.8052 GB, free: 6.168 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002257/0.2647, allocations: 239.2 kB / 0.8055 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2647, allocations: 0 / 0.8055 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004304/0.2651, allocations: 84 kB / 0.8056 GB, free: 5.855 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001306/0.2653, allocations: 107.2 kB / 0.8057 GB, free: 5.738 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009357/0.2662, allocations: 0.6353 MB / 0.8063 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2662, allocations: 4.062 kB / 0.8063 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004745/0.2667, allocations: 435.1 kB / 0.8067 GB, free: 4.547 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007191/0.2675, allocations: 130.8 kB / 0.8068 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.2686, allocations: 0.7229 MB / 0.8075 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.269, allocations: 0.8233 MB / 0.8083 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002318/0.2692, allocations: 83.34 kB / 0.8084 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.08e-05/0.2693, allocations: 35.42 kB / 0.8084 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of SimCode: time 4.21e-07/0.2693, allocations: 0 / 0.8084 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of Templates: time 0.009065/0.2784, allocations: 4.668 MB / 0.813 GB, free: 14.08 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)