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.00111/0.00111, allocations: 101.1 kB / 16.4 MB, free: 6.496 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.001171/0.001171, allocations: 192 kB / 17.34 MB, free: 5.727 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7877/0.7877, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 65.69 kB / 0.5685 GB, free: 28.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1782, allocations: 77.94 MB / 0.6446 GB, free: 8.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005339/0.1836, allocations: 3.715 MB / 0.6482 GB, free: 5.254 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002937/0.1866, allocations: 1.82 MB / 0.65 GB, free: 3.426 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002645/0.1869, allocations: 15.88 kB / 0.65 GB, free: 3.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008659/0.1878, allocations: 265.2 kB / 0.6502 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007624/0.1886, allocations: 294.4 kB / 0.6505 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006302/0.1892, allocations: 255.5 kB / 0.6508 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007077/0.1899, allocations: 0.6049 MB / 0.6514 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000494/0.1905, allocations: 250.5 kB / 0.6516 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003244/0.1908, allocations: 243.1 kB / 0.6518 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003708/0.1912, allocations: 230.9 kB / 0.652 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.947e-05/0.1912, allocations: 28 kB / 0.6521 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006095/0.1918, allocations: 275.4 kB / 0.6523 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.192, allocations: 115.6 kB / 0.6524 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002055/0.1922, allocations: 210.9 kB / 0.6526 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007229/0.1929, allocations: 0.5952 MB / 0.6532 GB, free: 76 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.1929, allocations: 0 / 0.6532 GB, free: 76 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.193, allocations: 4 kB / 0.6532 GB, free: 72 kB / 494.1 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.193, allocations: 0 / 0.6532 GB, free: 72 kB / 494.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.001285/0.1943, allocations: 0.755 MB / 0.654 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.1943, allocations: 8.625 kB / 0.654 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008642/0.1952, allocations: 140.5 kB / 0.6541 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/0.1957, allocations: 400 kB / 0.6545 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.1958, allocations: 21.03 kB / 0.6545 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.666e-05/0.1958, allocations: 36.31 kB / 0.6545 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008098/0.1967, allocations: 0.552 MB / 0.6551 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.1967, allocations: 7.938 kB / 0.6551 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.1967, allocations: 15.94 kB / 0.6551 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.783e-05/0.1968, allocations: 44.53 kB / 0.6552 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006683/0.1975, allocations: 409.7 kB / 0.6555 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/0.201, allocations: 3.33 MB / 0.6588 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006797/0.2017, allocations: 342.4 kB / 0.6591 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002892/0.202, allocations: 177.6 kB / 0.6593 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.202, allocations: 4 kB / 0.6593 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.202, allocations: 30.56 kB / 0.6593 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=26): time 2.023e-06/0.202, allocations: 3.938 kB / 0.6593 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=27): time 0.002018/0.2041, allocations: 1.076 MB / 0.6604 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.2041, allocations: 55.64 kB / 0.6604 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/0.2045, allocations: 337.6 kB / 0.6608 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.2045, allocations: 29.7 kB / 0.6608 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.2047, allocations: 252.1 kB / 0.661 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.905e-05/0.2048, allocations: 103.2 kB / 0.6611 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.2049, allocations: 74.08 kB / 0.6612 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.2051, allocations: 342.8 kB / 0.6615 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002689/0.2053, allocations: 156.8 kB / 0.6617 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003651/0.2057, allocations: 290.5 kB / 0.6619 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006556/0.2064, allocations: 487.2 kB / 0.6624 GB, free: 6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2064, allocations: 0 / 0.6624 GB, free: 6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000926/0.2073, allocations: 0.5618 MB / 0.663 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/0.2074, allocations: 4 kB / 0.663 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.197e-06/0.2074, allocations: 8 kB / 0.663 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002973/0.2077, allocations: 87.03 kB / 0.6631 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.208, allocations: 95.83 kB / 0.6631 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.208, allocations: 7.984 kB / 0.6632 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/0.2084, allocations: 31.91 kB / 0.6632 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.2084, allocations: 16 kB / 0.6632 GB, free: 5.168 MB / 0.4981 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.0001934/0.2086, allocations: 173.6 kB / 0.6634 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001321/0.2087, allocations: 47.66 kB / 0.6634 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008227/0.2096, allocations: 472 kB / 0.6639 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.2096, allocations: 0 / 0.6639 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.2096, allocations: 4 kB / 0.6639 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2096, allocations: 0 / 0.6639 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.211, allocations: 0.963 MB / 0.6648 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.211, allocations: 4 kB / 0.6648 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.2112, allocations: 51.95 kB / 0.6649 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00024/0.2115, allocations: 82.61 kB / 0.6649 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.2115, allocations: 11.94 kB / 0.6649 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.2115, allocations: 0 / 0.6649 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.2115, allocations: 4 kB / 0.665 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008099/0.2123, allocations: 0.5435 MB / 0.6655 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.2125, allocations: 132.8 kB / 0.6656 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/0.2125, allocations: 11.94 kB / 0.6656 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.2128, allocations: 23.97 kB / 0.6656 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.591e-05/0.2128, allocations: 23.91 kB / 0.6657 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.764e-05/0.2129, allocations: 11.98 kB / 0.6657 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002327/0.2131, allocations: 235.2 kB / 0.6659 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2131, allocations: 0 / 0.6659 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004114/0.2135, allocations: 92 kB / 0.666 GB, free: 2.152 MB / 0.4981 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.0001586/0.2137, allocations: 107.1 kB / 0.6661 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009286/0.2146, allocations: 0.6309 MB / 0.6667 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2146, allocations: 0 / 0.6667 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004707/0.2151, allocations: 438.7 kB / 0.6671 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006996/0.2158, allocations: 132.4 kB / 0.6673 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.2169, allocations: 0.7261 MB / 0.668 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.2173, allocations: 0.8272 MB / 0.6688 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002104/0.2175, allocations: 87.34 kB / 0.6689 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.707e-05/0.2176, allocations: 27.44 kB / 0.6689 GB, free: 15 MB / 0.5137 GB Notification: Performance of SimCode: time 8.31e-07/0.2176, allocations: 0 / 0.6689 GB, free: 15 MB / 0.5137 GB Notification: Performance of Templates: time 0.008741/0.2263, allocations: 4.739 MB / 0.6735 GB, free: 10.32 MB / 0.5137 GB 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)