Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001268/0.001268, allocations: 95.95 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 172.8 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6844/0.6844, allocations: 113.8 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003482, allocations: 12 kB / 493.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2019, allocations: 77.15 MB / 0.5568 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003835/0.2058, allocations: 3.154 MB / 0.5599 GB, free: 8.469 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002801/0.2086, allocations: 1.654 MB / 0.5615 GB, free: 6.809 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002589/0.2089, allocations: 15.88 kB / 0.5616 GB, free: 6.793 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.2091, allocations: 51.61 kB / 0.5616 GB, free: 6.742 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000628/0.2098, allocations: 231.3 kB / 0.5618 GB, free: 6.516 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005232/0.2103, allocations: 191.1 kB / 0.562 GB, free: 6.332 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000513/0.2108, allocations: 392.8 kB / 0.5624 GB, free: 5.949 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006271/0.2114, allocations: 330.5 kB / 0.5627 GB, free: 5.605 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000309/0.2118, allocations: 195.3 kB / 0.5629 GB, free: 5.414 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003437/0.2121, allocations: 187.2 kB / 0.5631 GB, free: 5.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.2122, allocations: 12 kB / 0.5631 GB, free: 5.219 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003038/0.2125, allocations: 107.8 kB / 0.5632 GB, free: 5.113 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.2126, allocations: 95.66 kB / 0.5633 GB, free: 5.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.747e-05/0.2127, allocations: 93.52 kB / 0.5634 GB, free: 4.922 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004257/0.2131, allocations: 411.1 kB / 0.5638 GB, free: 4.52 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.2131, allocations: 0 / 0.5638 GB, free: 4.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2131, allocations: 0 / 0.5638 GB, free: 4.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.046e-06/0.2131, allocations: 4 kB / 0.5638 GB, free: 4.516 MB / 430.1 MB 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.001069/0.2142, allocations: 0.6544 MB / 0.5644 GB, free: 3.812 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.2143, allocations: 11.97 kB / 0.5644 GB, free: 3.801 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006731/0.2149, allocations: 123.3 kB / 0.5645 GB, free: 3.68 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004991/0.2155, allocations: 362.7 kB / 0.5649 GB, free: 3.285 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.2155, allocations: 24.64 kB / 0.5649 GB, free: 3.258 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.809e-05/0.2156, allocations: 31.91 kB / 0.5649 GB, free: 3.227 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007968/0.2164, allocations: 0.5542 MB / 0.5655 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.2164, allocations: 3.953 kB / 0.5655 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.447e-05/0.2164, allocations: 23.97 kB / 0.5655 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.357e-05/0.2165, allocations: 44.47 kB / 0.5655 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007786/0.2173, allocations: 421.7 kB / 0.5659 GB, free: 2.125 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003004/0.2203, allocations: 3.333 MB / 0.5692 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007112/0.221, allocations: 334.5 kB / 0.5695 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.2211, allocations: 11.92 kB / 0.5695 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.2211, allocations: 35 kB / 0.5696 GB, free: 14.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.663e-06/0.2211, allocations: 0 / 0.5696 GB, free: 14.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.001999/0.2231, allocations: 1.079 MB / 0.5706 GB, free: 13 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.2232, allocations: 51.64 kB / 0.5707 GB, free: 12.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.2235, allocations: 337.6 kB / 0.571 GB, free: 12.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.599e-05/0.2236, allocations: 29.7 kB / 0.571 GB, free: 12.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.2238, allocations: 251.5 kB / 0.5712 GB, free: 12.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.582e-05/0.2238, allocations: 94.64 kB / 0.5713 GB, free: 12.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.691e-05/0.2239, allocations: 8 kB / 0.5713 GB, free: 12.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.224, allocations: 342.8 kB / 0.5717 GB, free: 11.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002787/0.2243, allocations: 156.8 kB / 0.5718 GB, free: 11.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/0.2247, allocations: 295 kB / 0.5721 GB, free: 11.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003175/0.225, allocations: 198.2 kB / 0.5723 GB, free: 11.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.225, allocations: 0 / 0.5723 GB, free: 11.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009232/0.2259, allocations: 0.5703 MB / 0.5728 GB, free: 10.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.226, allocations: 8 kB / 0.5729 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.226, allocations: 4 kB / 0.5729 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003254/0.2263, allocations: 87.03 kB / 0.5729 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.2267, allocations: 103.8 kB / 0.573 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.2267, allocations: 11.98 kB / 0.5731 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002551/0.2269, allocations: 43.86 kB / 0.5731 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.227, allocations: 16 kB / 0.5731 GB, free: 10.31 MB / 446.1 MB 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.0001891/0.2272, allocations: 179.4 kB / 0.5733 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.047e-05/0.2272, allocations: 35.62 kB / 0.5733 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008373/0.2281, allocations: 480.4 kB / 0.5738 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2281, allocations: 4 kB / 0.5738 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.2281, allocations: 4 kB / 0.5738 GB, free: 9.602 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2281, allocations: 0 / 0.5738 GB, free: 9.602 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.2295, allocations: 0.967 MB / 0.5747 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.2296, allocations: 0 / 0.5747 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.2298, allocations: 51.89 kB / 0.5748 GB, free: 8.512 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002319/0.23, allocations: 86.45 kB / 0.5749 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.2301, allocations: 12.09 kB / 0.5749 GB, free: 8.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.2301, allocations: 3.953 kB / 0.5749 GB, free: 8.402 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.618e-06/0.2301, allocations: 7.922 kB / 0.5749 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008113/0.2309, allocations: 0.5791 MB / 0.5754 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001698/0.2311, allocations: 140.5 kB / 0.5756 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.23e-05/0.2311, allocations: 11.94 kB / 0.5756 GB, free: 7.594 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.2314, allocations: 31.92 kB / 0.5756 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/0.2314, allocations: 23.97 kB / 0.5756 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.2315, allocations: 4 kB / 0.5756 GB, free: 7.535 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002238/0.2317, allocations: 231.2 kB / 0.5759 GB, free: 7.312 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2317, allocations: 0 / 0.5759 GB, free: 7.312 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004057/0.2321, allocations: 88 kB / 0.576 GB, free: 7.227 MB / 446.1 MB 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.0001564/0.2323, allocations: 115.9 kB / 0.5761 GB, free: 7.102 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009187/0.2332, allocations: 0.6353 MB / 0.5767 GB, free: 6.402 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2332, allocations: 0 / 0.5767 GB, free: 6.402 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004767/0.2337, allocations: 433.7 kB / 0.5771 GB, free: 5.914 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006185/0.2343, allocations: 113.8 kB / 0.5772 GB, free: 5.805 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.2355, allocations: 0.8656 MB / 0.5781 GB, free: 4.902 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004138/0.2359, allocations: 0.8359 MB / 0.5789 GB, free: 4.043 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002407/0.2362, allocations: 83.36 kB / 0.5789 GB, free: 3.961 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.131e-05/0.2363, allocations: 31.38 kB / 0.579 GB, free: 3.93 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2363, allocations: 0 / 0.579 GB, free: 3.93 MB / 446.1 MB Notification: Performance of Templates: time 0.2889/0.5252, allocations: 4.288 MB / 0.5832 GB, free: 33.11 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)