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.702/1.702, allocations: 288.4 MB / 304.3 MB, free: 8.066 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.001108/0.001108, allocations: 176.5 kB / 372.9 MB, free: 10.15 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.699/1.699, allocations: 205.4 MB / 0.6316 GB, free: 9.922 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.0007213/0.0007212, allocations: 96.19 kB / 0.745 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004312/0.0004312, allocations: 20.3 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2325, allocations: 115.3 MB / 0.9808 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003732/0.2363, allocations: 3.255 MB / 0.9839 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002296/0.2386, allocations: 1.728 MB / 0.9856 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.2388, allocations: 15.88 kB / 0.9856 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002233/0.239, allocations: 51.5 kB / 0.9857 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005579/0.2396, allocations: 270.7 kB / 0.9859 GB, free: 22 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004728/0.2401, allocations: 212.7 kB / 0.9861 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004693/0.2406, allocations: 0.6399 MB / 0.9868 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005692/0.2411, allocations: 366.9 kB / 0.9871 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.2414, allocations: 203.1 kB / 0.9873 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.2417, allocations: 215.1 kB / 0.9875 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.555e-05/0.2417, allocations: 16 kB / 0.9875 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003872/0.2421, allocations: 319.3 kB / 0.9878 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.878e-05/0.2422, allocations: 103.6 kB / 0.9879 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.2424, allocations: 204.7 kB / 0.9881 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003734/0.2427, allocations: 443.1 kB / 0.9886 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.2427, allocations: 0 / 0.9886 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2428, allocations: 4 kB / 0.9886 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.2428, allocations: 0 / 0.9886 GB, free: 19.29 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.0009003/0.2437, allocations: 0.6738 MB / 0.9892 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.2437, allocations: 8.031 kB / 0.9892 GB, free: 18.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007915/0.2445, allocations: 144.2 kB / 0.9894 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004486/0.245, allocations: 363.7 kB / 0.9897 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.245, allocations: 25.02 kB / 0.9897 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.171e-05/0.2451, allocations: 32.28 kB / 0.9898 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006947/0.2458, allocations: 0.555 MB / 0.9903 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.2458, allocations: 7.938 kB / 0.9903 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.2459, allocations: 15.98 kB / 0.9903 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.626e-05/0.2459, allocations: 40.53 kB / 0.9904 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006187/0.2465, allocations: 421.7 kB / 0.9908 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002102/0.2487, allocations: 3.326 MB / 0.994 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005589/0.2492, allocations: 342.4 kB / 0.9943 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002486/0.2495, allocations: 184.7 kB / 0.9945 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.2495, allocations: 4 kB / 0.9945 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.2496, allocations: 38.56 kB / 0.9946 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 1.944e-06/0.2496, allocations: 4 kB / 0.9946 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=27): time 0.001823/0.2514, allocations: 1.081 MB / 0.9956 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/0.2514, allocations: 55.64 kB / 0.9957 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.2517, allocations: 341.5 kB / 0.996 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.2517, allocations: 25.7 kB / 0.996 GB, free: 11.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.843e-05/0.2518, allocations: 251.5 kB / 0.9963 GB, free: 10.87 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.901e-05/0.2519, allocations: 94.66 kB / 0.9964 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.347e-05/0.2519, allocations: 4 kB / 0.9964 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.572e-05/0.252, allocations: 346.8 kB / 0.9967 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.2522, allocations: 152.8 kB / 0.9968 GB, free: 10.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002647/0.2525, allocations: 298.5 kB / 0.9971 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005162/0.253, allocations: 490.5 kB / 0.9976 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.253, allocations: 0 / 0.9976 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007656/0.2538, allocations: 0.5814 MB / 0.9982 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.2538, allocations: 9.719 kB / 0.9982 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/0.2538, allocations: 4 kB / 0.9982 GB, free: 8.762 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002756/0.2541, allocations: 82.52 kB / 0.9982 GB, free: 8.672 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/0.2544, allocations: 96.12 kB / 0.9983 GB, free: 8.578 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.2545, allocations: 8 kB / 0.9983 GB, free: 8.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/0.2547, allocations: 31.91 kB / 0.9984 GB, free: 8.539 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.2547, allocations: 24 kB / 0.9984 GB, free: 8.516 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.0001426/0.2549, allocations: 181.6 kB / 0.9986 GB, free: 8.328 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.928e-05/0.2549, allocations: 39.53 kB / 0.9986 GB, free: 8.289 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007162/0.2557, allocations: 479.9 kB / 0.9991 GB, free: 7.805 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.2557, allocations: 3.984 kB / 0.9991 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2557, allocations: 0 / 0.9991 GB, free: 7.801 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.2558, allocations: 140.6 kB / 0.9992 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.44e-05/0.2559, allocations: 8 kB / 0.9992 GB, free: 7.637 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.2561, allocations: 23.97 kB / 0.9992 GB, free: 7.613 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/0.2561, allocations: 15.97 kB / 0.9993 GB, free: 7.598 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009085/0.2571, allocations: 0.5502 MB / 0.9998 GB, free: 7.031 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007674/0.2578, allocations: 0.702 MB / 1 GB, free: 6.312 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002186/0.2581, allocations: 155.9 kB / 1.001 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001713/0.2582, allocations: 235.2 kB / 1.001 GB, free: 5.934 MB / 0.6198 GB Notification: Performance of Backend: time 6.01e-07/0.2583, allocations: 0 / 1.001 GB, free: 5.934 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001146/0.2594, allocations: 0.7305 MB / 1.002 GB, free: 5.133 MB / 0.6198 GB Notification: Performance of SimCode: time 0.001165/0.2606, allocations: 1.346 MB / 1.003 GB, free: 3.742 MB / 0.6198 GB Notification: Performance of Templates: time 0.009438/0.27, allocations: 6.063 MB / 1.009 GB, free: 13.73 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)