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.001308/0.001308, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001786/0.001786, allocations: 193 kB / 16.25 MB, free: 6.617 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.689/1.689, allocations: 205.1 MB / 222.1 MB, free: 4.598 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.824/1.824, allocations: 292.2 MB / 0.5485 GB, free: 13.64 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.001387/0.001387, allocations: 62.41 kB / 0.671 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3239, allocations: 114.5 MB / 0.7829 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005742/0.3297, allocations: 3.794 MB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003308/0.333, allocations: 1.825 MB / 0.7883 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002527/0.3333, allocations: 15.88 kB / 0.7884 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008218/0.3342, allocations: 239 kB / 0.7886 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006529/0.3349, allocations: 270.7 kB / 0.7888 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005849/0.3355, allocations: 230.7 kB / 0.7891 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006519/0.3361, allocations: 0.6087 MB / 0.7897 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004874/0.3366, allocations: 290.5 kB / 0.7899 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003076/0.3369, allocations: 235 kB / 0.7902 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.3372, allocations: 235 kB / 0.7904 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.643e-05/0.3373, allocations: 32 kB / 0.7904 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004248/0.3377, allocations: 275.4 kB / 0.7907 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.3378, allocations: 123.6 kB / 0.7908 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.338, allocations: 214.8 kB / 0.791 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006705/0.3387, allocations: 0.6037 MB / 0.7916 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3387, allocations: 0 / 0.7916 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3388, allocations: 0 / 0.7916 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.3388, allocations: 0 / 0.7916 GB, free: 4.934 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.001271/0.3401, allocations: 0.7362 MB / 0.7923 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.3401, allocations: 8.031 kB / 0.7923 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009028/0.341, allocations: 136.2 kB / 0.7924 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005012/0.3415, allocations: 367.7 kB / 0.7928 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.3416, allocations: 28.95 kB / 0.7928 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.478e-05/0.3416, allocations: 32.38 kB / 0.7929 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008636/0.3425, allocations: 0.5549 MB / 0.7934 GB, free: 2.922 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.3425, allocations: 4 kB / 0.7934 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/0.3426, allocations: 15.94 kB / 0.7934 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.684e-05/0.3427, allocations: 44.53 kB / 0.7935 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006987/0.3434, allocations: 405.7 kB / 0.7938 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00294/0.3463, allocations: 3.33 MB / 0.7971 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007386/0.3471, allocations: 343 kB / 0.7974 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003093/0.3474, allocations: 176.8 kB / 0.7976 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/0.3474, allocations: 4 kB / 0.7976 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.3475, allocations: 38.55 kB / 0.7976 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=26): time 2.655e-06/0.3475, allocations: 4 kB / 0.7976 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of matching and sorting (n=27): time 0.002234/0.3497, allocations: 1.058 MB / 0.7987 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.3498, allocations: 55.64 kB / 0.7987 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003865/0.3502, allocations: 341.5 kB / 0.799 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.3502, allocations: 29.7 kB / 0.7991 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/0.3504, allocations: 255.5 kB / 0.7993 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.721e-05/0.3505, allocations: 86.75 kB / 0.7994 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.3506, allocations: 77.95 kB / 0.7995 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.3509, allocations: 350.8 kB / 0.7998 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.3511, allocations: 148.8 kB / 0.8 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003603/0.3515, allocations: 286.5 kB / 0.8002 GB, free: 11.48 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006925/0.3522, allocations: 489.7 kB / 0.8007 GB, free: 10.94 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.3522, allocations: 8 kB / 0.8007 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009874/0.3532, allocations: 0.5578 MB / 0.8012 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.3533, allocations: 8 kB / 0.8013 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.3533, allocations: 7.938 kB / 0.8013 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003363/0.3536, allocations: 87.08 kB / 0.8013 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.354, allocations: 87.88 kB / 0.8014 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.354, allocations: 11.94 kB / 0.8014 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002768/0.3543, allocations: 31.91 kB / 0.8015 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.3543, allocations: 16 kB / 0.8015 GB, free: 10.11 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.0002379/0.3546, allocations: 188.5 kB / 0.8017 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.356e-05/0.3547, allocations: 39.53 kB / 0.8017 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009249/0.3556, allocations: 460.2 kB / 0.8021 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.3556, allocations: 4 kB / 0.8021 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.3556, allocations: 0 / 0.8021 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3556, allocations: 3.984 kB / 0.8021 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.3571, allocations: 0.9654 MB / 0.8031 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3571, allocations: 0 / 0.8031 GB, free: 8.359 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000224/0.3574, allocations: 51.89 kB / 0.8031 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002487/0.3576, allocations: 98.47 kB / 0.8032 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.3577, allocations: 8 kB / 0.8032 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.3577, allocations: 0 / 0.8032 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3577, allocations: 0 / 0.8032 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000812/0.3585, allocations: 0.5428 MB / 0.8038 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.3587, allocations: 136.6 kB / 0.8039 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.968e-05/0.3587, allocations: 4 kB / 0.8039 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002316/0.3589, allocations: 19.97 kB / 0.8039 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.902e-05/0.359, allocations: 31.84 kB / 0.804 GB, free: 7.41 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.3591, allocations: 12 kB / 0.804 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002367/0.3593, allocations: 235.2 kB / 0.8042 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3593, allocations: 0 / 0.8042 GB, free: 7.176 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004348/0.3598, allocations: 84 kB / 0.8043 GB, free: 7.094 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.0001558/0.3599, allocations: 115.2 kB / 0.8044 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009917/0.3609, allocations: 0.6615 MB / 0.805 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3609, allocations: 1.25 kB / 0.805 GB, free: 6.242 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004513/0.3614, allocations: 443.1 kB / 0.8054 GB, free: 5.746 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000699/0.3621, allocations: 131.8 kB / 0.8056 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.3634, allocations: 0.8783 MB / 0.8064 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.3638, allocations: 0.8234 MB / 0.8072 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002649/0.3641, allocations: 87.33 kB / 0.8073 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.052e-05/0.3642, allocations: 31.42 kB / 0.8073 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of SimCode: time 3.31e-07/0.3642, allocations: 0 / 0.8073 GB, free: 3.738 MB / 0.6231 GB Notification: Performance of Templates: time 0.009764/0.3739, allocations: 4.675 MB / 0.8119 GB, free: 15.12 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)