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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 111 kB / 17.33 MB, free: 5.043 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.001534/0.001534, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.368/1.368, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7971/0.7971, allocations: 128.4 MB / 426.1 MB, free: 7.195 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002443/0.002443, allocations: 59.56 kB / 0.5912 GB, free: 21.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1563, allocations: 83.26 MB / 0.6725 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005493/0.1618, allocations: 3.779 MB / 0.6762 GB, free: 92 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003017/0.1648, allocations: 1.824 MB / 0.6779 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.165, allocations: 19.88 kB / 0.678 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008756/0.1659, allocations: 266.6 kB / 0.6782 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0005939/0.1665, allocations: 310.5 kB / 0.6785 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005353/0.167, allocations: 253.4 kB / 0.6787 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000664/0.1677, allocations: 0.6088 MB / 0.6793 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003715/0.168, allocations: 206.6 kB / 0.6795 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003391/0.1684, allocations: 243 kB / 0.6798 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003687/0.1687, allocations: 243 kB / 0.68 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.53e-05/0.1688, allocations: 24 kB / 0.68 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004796/0.1693, allocations: 287.4 kB / 0.6803 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.1694, allocations: 119.6 kB / 0.6804 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002094/0.1696, allocations: 214.8 kB / 0.6806 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006933/0.1703, allocations: 0.5952 MB / 0.6812 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1703, allocations: 4 kB / 0.6812 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1703, allocations: 0 / 0.6812 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.1703, allocations: 0 / 0.6812 GB, free: 10.9 MB / 0.5137 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.001192/0.1715, allocations: 0.7434 MB / 0.6819 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.1716, allocations: 16.02 kB / 0.6819 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008473/0.1724, allocations: 128.5 kB / 0.6821 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005857/0.173, allocations: 411.9 kB / 0.6825 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.173, allocations: 21.03 kB / 0.6825 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.319e-05/0.1731, allocations: 36.34 kB / 0.6825 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008645/0.1739, allocations: 0.5472 MB / 0.683 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.174, allocations: 4 kB / 0.6831 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.97e-05/0.174, allocations: 15.98 kB / 0.6831 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-05/0.1741, allocations: 48.41 kB / 0.6831 GB, free: 8.785 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007087/0.1748, allocations: 409.8 kB / 0.6835 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003013/0.1778, allocations: 3.334 MB / 0.6868 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006583/0.1785, allocations: 318.4 kB / 0.6871 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/0.1787, allocations: 160.8 kB / 0.6872 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.194e-05/0.1788, allocations: 4 kB / 0.6872 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1788, allocations: 34.56 kB / 0.6873 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=26): time 1.423e-06/0.1788, allocations: 8 kB / 0.6873 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of matching and sorting (n=27): time 0.002023/0.1808, allocations: 1.062 MB / 0.6883 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.1809, allocations: 63.58 kB / 0.6884 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/0.1812, allocations: 337.6 kB / 0.6887 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.1813, allocations: 33.7 kB / 0.6887 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001845/0.1814, allocations: 248.1 kB / 0.689 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.692e-05/0.1815, allocations: 103.2 kB / 0.689 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.1816, allocations: 78.08 kB / 0.6891 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.1818, allocations: 346.8 kB / 0.6895 GB, free: 1.902 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.1821, allocations: 152.8 kB / 0.6896 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003737/0.1825, allocations: 288 kB / 0.6899 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007/0.1832, allocations: 483.9 kB / 0.6903 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1832, allocations: 4 kB / 0.6903 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009911/0.1842, allocations: 0.5579 MB / 0.6909 GB, free: 300 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1842, allocations: 8 kB / 0.6909 GB, free: 292 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.1842, allocations: 4 kB / 0.6909 GB, free: 288 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003183/0.1845, allocations: 95.06 kB / 0.691 GB, free: 184 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.1848, allocations: 79.89 kB / 0.6911 GB, free: 104 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.1848, allocations: 15.92 kB / 0.6911 GB, free: 88 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.1851, allocations: 31.91 kB / 0.6911 GB, free: 56 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.1851, allocations: 20 kB / 0.6911 GB, free: 36 kB / 0.5137 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.0002227/0.1853, allocations: 173.6 kB / 0.6913 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.687e-05/0.1854, allocations: 47.72 kB / 0.6913 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008639/0.1863, allocations: 464 kB / 0.6918 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.1863, allocations: 4 kB / 0.6918 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1863, allocations: 0 / 0.6918 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1863, allocations: 0 / 0.6918 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.1878, allocations: 0.9598 MB / 0.6927 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1878, allocations: 0 / 0.6927 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.188, allocations: 51.89 kB / 0.6928 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002409/0.1883, allocations: 86.61 kB / 0.6929 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.1883, allocations: 4 kB / 0.6929 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.1883, allocations: 4 kB / 0.6929 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1883, allocations: 0 / 0.6929 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008161/0.1891, allocations: 0.5512 MB / 0.6934 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.1893, allocations: 140.8 kB / 0.6935 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.519e-05/0.1893, allocations: 4 kB / 0.6935 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.1895, allocations: 27.91 kB / 0.6936 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.467e-05/0.1896, allocations: 23.91 kB / 0.6936 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.1896, allocations: 11.98 kB / 0.6936 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002289/0.1898, allocations: 239.2 kB / 0.6938 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1898, allocations: 0 / 0.6938 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003961/0.1902, allocations: 88 kB / 0.6939 GB, free: 13.02 MB / 0.5294 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.0001498/0.1904, allocations: 111.1 kB / 0.694 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0009157/0.1913, allocations: 0.6109 MB / 0.6946 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1913, allocations: 0 / 0.6946 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000487/0.1918, allocations: 428.5 kB / 0.695 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006728/0.1924, allocations: 123.1 kB / 0.6951 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.1936, allocations: 0.7378 MB / 0.6959 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.1941, allocations: 0.8232 MB / 0.6967 GB, free: 10 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002139/0.1943, allocations: 83.33 kB / 0.6967 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.822e-05/0.1944, allocations: 31.44 kB / 0.6968 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/0.1944, allocations: 0 / 0.6968 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of Templates: time 0.009524/0.2039, allocations: 4.827 MB / 0.7015 GB, free: 5.121 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 660] (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) [Timeout 480]