Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.731/1.731, allocations: 288.4 MB / 303.7 MB, free: 8.145 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 181 kB / 372.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.4 MB / 0.631 GB, free: 9.898 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001188/0.001188, allocations: 94.28 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005988/0.0005989, allocations: 15.34 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3173, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005168/0.3225, allocations: 3.259 MB / 0.9833 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003507/0.3261, allocations: 1.728 MB / 0.985 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000545/0.3267, allocations: 15.88 kB / 0.985 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003682/0.3271, allocations: 55.5 kB / 0.9851 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.3283, allocations: 270.7 kB / 0.9853 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008792/0.3292, allocations: 200.7 kB / 0.9855 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009604/0.3302, allocations: 0.6477 MB / 0.9862 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008631/0.331, allocations: 370.8 kB / 0.9865 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005208/0.3316, allocations: 199.1 kB / 0.9867 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004488/0.3321, allocations: 215.1 kB / 0.9869 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.752e-05/0.3321, allocations: 12 kB / 0.9869 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007095/0.3329, allocations: 323.3 kB / 0.9872 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.333, allocations: 103.6 kB / 0.9873 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002821/0.3333, allocations: 204.7 kB / 0.9875 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006918/0.334, allocations: 451.1 kB / 0.988 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.3341, allocations: 0 / 0.988 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3341, allocations: 0 / 0.988 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.097e-05/0.3341, allocations: 0 / 0.988 GB, free: 19.27 MB / 0.6198 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.001432/0.3355, allocations: 0.67 MB / 0.9886 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.3356, allocations: 12.03 kB / 0.9886 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/0.3369, allocations: 132.2 kB / 0.9887 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006643/0.3376, allocations: 371.7 kB / 0.9891 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.3376, allocations: 21.03 kB / 0.9891 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.229e-05/0.3377, allocations: 36.28 kB / 0.9892 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.3387, allocations: 0.5589 MB / 0.9897 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.3388, allocations: 7.938 kB / 0.9897 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.683e-05/0.3388, allocations: 16 kB / 0.9897 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.299e-05/0.3389, allocations: 40.53 kB / 0.9898 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009288/0.3399, allocations: 413.7 kB / 0.9902 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00297/0.3428, allocations: 3.337 MB / 0.9934 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007878/0.3437, allocations: 347.1 kB / 0.9937 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003644/0.344, allocations: 180.8 kB / 0.9939 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.3441, allocations: 7.984 kB / 0.9939 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.3441, allocations: 34.56 kB / 0.994 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 3.446e-06/0.3441, allocations: 0 / 0.994 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.002552/0.3467, allocations: 1.083 MB / 0.995 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.3467, allocations: 55.64 kB / 0.9951 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003852/0.3471, allocations: 337.5 kB / 0.9954 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.3472, allocations: 33.7 kB / 0.9954 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.3473, allocations: 247.5 kB / 0.9957 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.79e-05/0.3474, allocations: 94.64 kB / 0.9957 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/0.3474, allocations: 8 kB / 0.9958 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.3475, allocations: 346.8 kB / 0.9961 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.3479, allocations: 148.8 kB / 0.9962 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004178/0.3483, allocations: 302.5 kB / 0.9965 GB, free: 9.895 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000814/0.3492, allocations: 486.5 kB / 0.997 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.3492, allocations: 0 / 0.997 GB, free: 9.355 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001276/0.3505, allocations: 0.5694 MB / 0.9975 GB, free: 8.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.3505, allocations: 8 kB / 0.9975 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.3505, allocations: 4.562 kB / 0.9976 GB, free: 8.758 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003928/0.3509, allocations: 94.5 kB / 0.9976 GB, free: 8.656 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004648/0.3514, allocations: 95.81 kB / 0.9977 GB, free: 8.562 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.832e-05/0.3514, allocations: 8 kB / 0.9977 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004105/0.3519, allocations: 35.84 kB / 0.9978 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.841e-05/0.3519, allocations: 16 kB / 0.9978 GB, free: 8.504 MB / 0.6198 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.0002388/0.3522, allocations: 181.7 kB / 0.998 GB, free: 8.316 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.863e-05/0.3523, allocations: 43.47 kB / 0.998 GB, free: 8.273 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.3533, allocations: 475.9 kB / 0.9985 GB, free: 7.793 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.3534, allocations: 0 / 0.9985 GB, free: 7.793 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.649e-06/0.3534, allocations: 4 kB / 0.9985 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.3534, allocations: 0 / 0.9985 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.3551, allocations: 0.9717 MB / 0.9994 GB, free: 6.742 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3552, allocations: 4 kB / 0.9994 GB, free: 6.738 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003116/0.3555, allocations: 47.95 kB / 0.9995 GB, free: 6.691 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003013/0.3558, allocations: 90.55 kB / 0.9995 GB, free: 6.594 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.594e-05/0.3558, allocations: 0 / 0.9995 GB, free: 6.594 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.3559, allocations: 4 kB / 0.9995 GB, free: 6.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3559, allocations: 3.984 kB / 0.9996 GB, free: 6.586 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009998/0.3569, allocations: 0.5511 MB / 1 GB, free: 6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.3571, allocations: 144.6 kB / 1 GB, free: 5.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.141e-05/0.3572, allocations: 8 kB / 1 GB, free: 5.832 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003304/0.3575, allocations: 23.97 kB / 1 GB, free: 5.809 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.673e-05/0.3576, allocations: 23.91 kB / 1 GB, free: 5.785 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.3577, allocations: 8 kB / 1 GB, free: 5.777 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002562/0.3579, allocations: 235.2 kB / 1.001 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.8e-07/0.358, allocations: 0 / 1.001 GB, free: 5.551 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006833/0.3586, allocations: 84 kB / 1.001 GB, free: 5.469 MB / 0.6198 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.0001519/0.3588, allocations: 123.2 kB / 1.001 GB, free: 5.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001057/0.3599, allocations: 0.6433 MB / 1.001 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3599, allocations: 0 / 1.001 GB, free: 4.633 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005146/0.3604, allocations: 437.7 kB / 1.002 GB, free: 4.141 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/0.3615, allocations: 115.5 kB / 1.002 GB, free: 4.031 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.3631, allocations: 0.879 MB / 1.003 GB, free: 3.117 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.3634, allocations: 0.831 MB / 1.004 GB, free: 2.258 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000379/0.3638, allocations: 83.34 kB / 1.004 GB, free: 2.172 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.956e-05/0.3639, allocations: 31.44 kB / 1.004 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.3639, allocations: 0 / 1.004 GB, free: 2.141 MB / 0.6198 GB Notification: Performance of Templates: time 0.0124/0.3764, allocations: 4.379 MB / 1.008 GB, free: 13.82 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)