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.001595/0.001595, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002324/0.002324, allocations: 194.6 kB / 16.14 MB, free: 6.703 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.544/1.544, allocations: 205.1 MB / 222 MB, free: 4.77 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.752/1.752, allocations: 292.2 MB / 0.5484 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.001464/0.001465, allocations: 64.36 kB / 0.6708 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2724, allocations: 114.5 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005229/0.2777, allocations: 3.788 MB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00291/0.2806, allocations: 1.848 MB / 0.7882 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.2809, allocations: 15.88 kB / 0.7882 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008048/0.2817, allocations: 237.9 kB / 0.7884 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000642/0.2824, allocations: 282.7 kB / 0.7887 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005711/0.283, allocations: 219.6 kB / 0.7889 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00073/0.2837, allocations: 0.7413 MB / 0.7896 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004854/0.2842, allocations: 257.8 kB / 0.7899 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003255/0.2846, allocations: 215 kB / 0.7901 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000308/0.2849, allocations: 231 kB / 0.7903 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.877e-05/0.2849, allocations: 16 kB / 0.7903 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007224/0.2857, allocations: 343.3 kB / 0.7906 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.2858, allocations: 123.6 kB / 0.7908 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.286, allocations: 194.8 kB / 0.7909 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000653/0.2867, allocations: 0.592 MB / 0.7915 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2867, allocations: 0 / 0.7915 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.81e-07/0.2867, allocations: 0 / 0.7915 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.2867, allocations: 0 / 0.7915 GB, free: 4.875 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.001241/0.288, allocations: 0.7478 MB / 0.7923 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.288, allocations: 8.031 kB / 0.7923 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008564/0.2889, allocations: 136.2 kB / 0.7924 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004713/0.2894, allocations: 363.7 kB / 0.7927 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.2894, allocations: 25.02 kB / 0.7928 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.482e-05/0.2895, allocations: 28.38 kB / 0.7928 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008872/0.2903, allocations: 0.5588 MB / 0.7933 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.2904, allocations: 0 / 0.7933 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.817e-05/0.2904, allocations: 12 kB / 0.7933 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.308e-05/0.2905, allocations: 48.53 kB / 0.7934 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007932/0.2913, allocations: 405.7 kB / 0.7938 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002883/0.2942, allocations: 3.333 MB / 0.797 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006817/0.2949, allocations: 339.1 kB / 0.7974 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.2952, allocations: 176.8 kB / 0.7975 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.2952, allocations: 4 kB / 0.7975 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.2953, allocations: 34.5 kB / 0.7976 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=26): time 1.563e-06/0.2953, allocations: 0 / 0.7976 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of matching and sorting (n=27): time 0.002178/0.2975, allocations: 1.062 MB / 0.7986 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.2975, allocations: 59.64 kB / 0.7987 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/0.2979, allocations: 341.5 kB / 0.799 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.298, allocations: 33.7 kB / 0.799 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.2981, allocations: 243.5 kB / 0.7992 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.526e-05/0.2982, allocations: 90.75 kB / 0.7993 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.2984, allocations: 81.94 kB / 0.7994 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.2985, allocations: 346.8 kB / 0.7997 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.2988, allocations: 152.8 kB / 0.7999 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003952/0.2992, allocations: 294.5 kB / 0.8002 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006909/0.2999, allocations: 489.7 kB / 0.8006 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2999, allocations: 4 kB / 0.8006 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009729/0.3009, allocations: 0.554 MB / 0.8012 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.301, allocations: 4 kB / 0.8012 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.301, allocations: 8 kB / 0.8012 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000332/0.3013, allocations: 90.88 kB / 0.8013 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.3017, allocations: 91.88 kB / 0.8014 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.3017, allocations: 11.94 kB / 0.8014 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002467/0.3019, allocations: 31.91 kB / 0.8014 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.838e-05/0.302, allocations: 16 kB / 0.8014 GB, free: 10.04 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.0001832/0.3022, allocations: 173.7 kB / 0.8016 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.062e-05/0.3022, allocations: 43.47 kB / 0.8016 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008479/0.3031, allocations: 472.2 kB / 0.8021 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3031, allocations: 0 / 0.8021 GB, free: 9.34 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.3031, allocations: 4 kB / 0.8021 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3031, allocations: 0 / 0.8021 GB, free: 9.336 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001467/0.3046, allocations: 0.9653 MB / 0.803 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.3046, allocations: 4 kB / 0.803 GB, free: 8.293 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.3049, allocations: 51.95 kB / 0.8031 GB, free: 8.242 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002448/0.3051, allocations: 82.55 kB / 0.8032 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.3051, allocations: 12 kB / 0.8032 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.421e-06/0.3052, allocations: 3.984 kB / 0.8032 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3052, allocations: 4 kB / 0.8032 GB, free: 8.133 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008032/0.306, allocations: 0.5389 MB / 0.8037 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.3061, allocations: 136.6 kB / 0.8038 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.988e-05/0.3062, allocations: 8 kB / 0.8038 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.3064, allocations: 23.97 kB / 0.8039 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.479e-05/0.3065, allocations: 23.91 kB / 0.8039 GB, free: 7.352 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.3065, allocations: 8 kB / 0.8039 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002278/0.3067, allocations: 239.1 kB / 0.8041 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3068, allocations: 0 / 0.8041 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004377/0.3072, allocations: 88 kB / 0.8042 GB, free: 7.031 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.0001401/0.3073, allocations: 103.2 kB / 0.8043 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008915/0.3082, allocations: 0.6344 MB / 0.8049 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3083, allocations: 4 kB / 0.8049 GB, free: 6.215 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004406/0.3087, allocations: 436.3 kB / 0.8053 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007037/0.3094, allocations: 123.1 kB / 0.8055 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.3106, allocations: 0.8781 MB / 0.8063 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.311, allocations: 0.8273 MB / 0.8071 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002473/0.3113, allocations: 87.33 kB / 0.8072 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.685e-05/0.3114, allocations: 27.44 kB / 0.8072 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of SimCode: time 3.9e-07/0.3114, allocations: 0 / 0.8072 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of Templates: time 0.008877/0.3203, allocations: 4.487 MB / 0.8116 GB, free: 15.29 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)