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.001329/0.001328, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001159/0.001159, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.696/1.696, allocations: 292.5 MB / 0.5497 GB, free: 14.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.0005447/0.0005448, allocations: 11.72 kB / 0.6736 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2838, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004901/0.2887, allocations: 3.161 MB / 0.7902 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003206/0.292, allocations: 1.705 MB / 0.7919 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002726/0.2923, allocations: 11.88 kB / 0.7919 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.2925, allocations: 47.62 kB / 0.7919 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0006026/0.2931, allocations: 243.2 kB / 0.7922 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.2936, allocations: 183.3 kB / 0.7923 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004758/0.294, allocations: 392.8 kB / 0.7927 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006334/0.2947, allocations: 330.5 kB / 0.793 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.295, allocations: 207.2 kB / 0.7932 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.2953, allocations: 175.3 kB / 0.7934 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.146e-05/0.2954, allocations: 12 kB / 0.7934 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.2956, allocations: 103.9 kB / 0.7935 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.2957, allocations: 95.59 kB / 0.7936 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.457e-05/0.2958, allocations: 101.5 kB / 0.7937 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004231/0.2962, allocations: 407.2 kB / 0.7941 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.2962, allocations: 4 kB / 0.7941 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2962, allocations: 0 / 0.7941 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.2963, allocations: 0 / 0.7941 GB, free: 4.789 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.00111/0.2974, allocations: 0.6661 MB / 0.7947 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.2974, allocations: 8.031 kB / 0.7947 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006752/0.2981, allocations: 119.3 kB / 0.7949 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005582/0.2987, allocations: 366.5 kB / 0.7952 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.2987, allocations: 24.64 kB / 0.7952 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/0.2988, allocations: 31.97 kB / 0.7953 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000801/0.2996, allocations: 0.5539 MB / 0.7958 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.2996, allocations: 3.938 kB / 0.7958 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/0.2996, allocations: 15.94 kB / 0.7958 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.376e-05/0.2997, allocations: 44.53 kB / 0.7959 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007465/0.3005, allocations: 413.8 kB / 0.7963 GB, free: 2.402 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002868/0.3034, allocations: 3.341 MB / 0.7995 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/0.304, allocations: 339.3 kB / 0.7998 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.3041, allocations: 3.984 kB / 0.7999 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.3041, allocations: 34.56 kB / 0.7999 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=26): time 2.985e-06/0.3041, allocations: 0 / 0.7999 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=27): time 0.002021/0.3061, allocations: 1.082 MB / 0.8009 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.3062, allocations: 59.58 kB / 0.801 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.3066, allocations: 337.6 kB / 0.8013 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.3066, allocations: 29.7 kB / 0.8014 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.3068, allocations: 251.5 kB / 0.8016 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.643e-05/0.3069, allocations: 90.66 kB / 0.8017 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.672e-05/0.3069, allocations: 11.94 kB / 0.8017 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.3071, allocations: 346.8 kB / 0.802 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.3073, allocations: 148.8 kB / 0.8022 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/0.3077, allocations: 299.1 kB / 0.8024 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.3081, allocations: 200.1 kB / 0.8026 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3081, allocations: 4 kB / 0.8026 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009269/0.309, allocations: 0.5655 MB / 0.8032 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.309, allocations: 11.98 kB / 0.8032 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.3091, allocations: 4 kB / 0.8032 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003182/0.3094, allocations: 91.08 kB / 0.8033 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.3097, allocations: 91.81 kB / 0.8034 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/0.3098, allocations: 11.94 kB / 0.8034 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.31, allocations: 35.91 kB / 0.8034 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.3101, allocations: 16 kB / 0.8034 GB, free: 10.59 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000206/0.3103, allocations: 177.7 kB / 0.8036 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.3103, allocations: 39.53 kB / 0.8037 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008821/0.3112, allocations: 468.1 kB / 0.8041 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3112, allocations: 4 kB / 0.8041 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.3113, allocations: 7.953 kB / 0.8041 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3113, allocations: 0 / 0.8041 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001453/0.3127, allocations: 0.9655 MB / 0.8051 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.3127, allocations: 4 kB / 0.8051 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002252/0.313, allocations: 47.95 kB / 0.8051 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002264/0.3132, allocations: 94.53 kB / 0.8052 GB, free: 8.688 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.3132, allocations: 4 kB / 0.8052 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3133, allocations: 4 kB / 0.8052 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3133, allocations: 0 / 0.8052 GB, free: 8.68 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000812/0.3141, allocations: 0.5874 MB / 0.8058 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001592/0.3142, allocations: 148.5 kB / 0.8059 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.925e-05/0.3143, allocations: 4 kB / 0.8059 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.3145, allocations: 27.91 kB / 0.8059 GB, free: 7.844 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.91e-05/0.3146, allocations: 27.91 kB / 0.806 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.3146, allocations: 4 kB / 0.806 GB, free: 7.812 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002221/0.3149, allocations: 239.1 kB / 0.8062 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3149, allocations: 0 / 0.8062 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003836/0.3153, allocations: 88 kB / 0.8063 GB, free: 7.5 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 (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001547/0.3154, allocations: 111.2 kB / 0.8064 GB, free: 7.379 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008763/0.3163, allocations: 0.6425 MB / 0.807 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3163, allocations: 0 / 0.807 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004452/0.3168, allocations: 440.1 kB / 0.8074 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005873/0.3174, allocations: 117.4 kB / 0.8076 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.3186, allocations: 0.8651 MB / 0.8084 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.319, allocations: 0.8356 MB / 0.8092 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000234/0.3193, allocations: 79.36 kB / 0.8093 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.521e-05/0.3194, allocations: 31.42 kB / 0.8093 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.3194, allocations: 0 / 0.8093 GB, free: 4.191 MB / 0.6231 GB Notification: Performance of Templates: time 0.009256/0.3286, allocations: 4.303 MB / 0.8135 GB, free: 15.95 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: