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: "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000823/0.000823, allocations: 95.33 kB / 15.68 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.0008838/0.0008838, allocations: 175.2 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.414/1.414, allocations: 223.2 MB / 240.5 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7114/0.7114, allocations: 113.7 MB / 405.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003771, allocations: 15.98 kB / 493 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1924, allocations: 77.11 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.00417/0.1966, allocations: 3.161 MB / 0.5598 GB, free: 8.535 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002502/0.1991, allocations: 1.65 MB / 0.5614 GB, free: 6.879 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.1993, allocations: 15.88 kB / 0.5614 GB, free: 6.863 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.1995, allocations: 47.69 kB / 0.5615 GB, free: 6.816 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005409/0.2001, allocations: 235.2 kB / 0.5617 GB, free: 6.586 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004541/0.2005, allocations: 191.6 kB / 0.5619 GB, free: 6.398 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004704/0.201, allocations: 392.8 kB / 0.5623 GB, free: 6.012 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005714/0.2016, allocations: 326.5 kB / 0.5626 GB, free: 5.672 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003113/0.2019, allocations: 199.2 kB / 0.5628 GB, free: 5.477 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.2023, allocations: 187.2 kB / 0.563 GB, free: 5.293 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.28e-05/0.2023, allocations: 16 kB / 0.563 GB, free: 5.277 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.2026, allocations: 103.8 kB / 0.5631 GB, free: 5.176 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.2027, allocations: 87.73 kB / 0.5631 GB, free: 5.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.663e-05/0.2028, allocations: 101.5 kB / 0.5632 GB, free: 4.984 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004118/0.2032, allocations: 403.2 kB / 0.5636 GB, free: 4.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.2032, allocations: 0 / 0.5636 GB, free: 4.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2032, allocations: 0 / 0.5636 GB, free: 4.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.2032, allocations: 4 kB / 0.5636 GB, free: 4.586 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.001076/0.2043, allocations: 0.666 MB / 0.5643 GB, free: 3.871 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.2044, allocations: 12.03 kB / 0.5643 GB, free: 3.859 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.426e-05/0.2044, allocations: 66.53 kB / 0.5644 GB, free: 3.785 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006671/0.2051, allocations: 127.3 kB / 0.5645 GB, free: 3.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004976/0.2056, allocations: 358.6 kB / 0.5648 GB, free: 3.273 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.2057, allocations: 24.64 kB / 0.5648 GB, free: 3.246 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.564e-05/0.2057, allocations: 28 kB / 0.5649 GB, free: 3.219 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008284/0.2066, allocations: 0.5592 MB / 0.5654 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.2066, allocations: 3.938 kB / 0.5654 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/0.2066, allocations: 15.98 kB / 0.5654 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.567e-05/0.2067, allocations: 44.53 kB / 0.5655 GB, free: 2.523 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007015/0.2074, allocations: 417.7 kB / 0.5659 GB, free: 2.117 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002841/0.2103, allocations: 3.337 MB / 0.5691 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006797/0.211, allocations: 343.3 kB / 0.5695 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.211, allocations: 0 / 0.5695 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.211, allocations: 39 kB / 0.5695 GB, free: 14.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.383e-06/0.211, allocations: 0 / 0.5695 GB, free: 14.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=27): time 0.002148/0.2132, allocations: 1.083 MB / 0.5706 GB, free: 12.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.86e-05/0.2133, allocations: 55.64 kB / 0.5706 GB, free: 12.92 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004201/0.2137, allocations: 341.5 kB / 0.5709 GB, free: 12.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.2138, allocations: 29.7 kB / 0.571 GB, free: 12.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.214, allocations: 247.6 kB / 0.5712 GB, free: 12.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.2141, allocations: 98.58 kB / 0.5713 GB, free: 12.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.666e-05/0.2141, allocations: 4 kB / 0.5713 GB, free: 12.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.2143, allocations: 346.8 kB / 0.5716 GB, free: 11.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.2146, allocations: 152.8 kB / 0.5718 GB, free: 11.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004127/0.215, allocations: 295 kB / 0.5721 GB, free: 11.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003701/0.2154, allocations: 193.5 kB / 0.5722 GB, free: 11.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.2154, allocations: 4 kB / 0.5722 GB, free: 11.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001039/0.2165, allocations: 0.5783 MB / 0.5728 GB, free: 10.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.2165, allocations: 8 kB / 0.5728 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.2165, allocations: 4 kB / 0.5728 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003155/0.2169, allocations: 91.06 kB / 0.5729 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003451/0.2172, allocations: 91.88 kB / 0.573 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.2172, allocations: 7.938 kB / 0.573 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.2175, allocations: 35.92 kB / 0.573 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.2175, allocations: 16 kB / 0.5731 GB, free: 10.3 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.0002239/0.2178, allocations: 181.7 kB / 0.5732 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-05/0.2178, allocations: 39.53 kB / 0.5733 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008576/0.2187, allocations: 464 kB / 0.5737 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.2187, allocations: 8 kB / 0.5737 GB, free: 9.602 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2187, allocations: 0 / 0.5737 GB, free: 9.602 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2187, allocations: 4 kB / 0.5737 GB, free: 9.598 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.2202, allocations: 0.9747 MB / 0.5747 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2202, allocations: 0 / 0.5747 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000222/0.2204, allocations: 55.89 kB / 0.5747 GB, free: 8.496 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002103/0.2206, allocations: 78.61 kB / 0.5748 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.2207, allocations: 11.95 kB / 0.5748 GB, free: 8.398 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/0.2207, allocations: 7.984 kB / 0.5748 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2207, allocations: 0 / 0.5748 GB, free: 8.391 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007678/0.2214, allocations: 0.5752 MB / 0.5754 GB, free: 7.762 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.2216, allocations: 148.5 kB / 0.5755 GB, free: 7.598 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/0.2217, allocations: 12 kB / 0.5755 GB, free: 7.586 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.2219, allocations: 31.92 kB / 0.5756 GB, free: 7.555 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.658e-05/0.222, allocations: 15.97 kB / 0.5756 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.222, allocations: 15.94 kB / 0.5756 GB, free: 7.523 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002164/0.2222, allocations: 231.2 kB / 0.5758 GB, free: 7.297 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2222, allocations: 0 / 0.5758 GB, free: 7.297 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003954/0.2226, allocations: 84 kB / 0.5759 GB, free: 7.215 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.001186/0.2238, allocations: 1.347 MB / 0.5772 GB, free: 5.809 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008582/0.2247, allocations: 0.6472 MB / 0.5778 GB, free: 5.098 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.2247, allocations: 128 / 0.5778 GB, free: 5.098 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004271/0.2251, allocations: 437.7 kB / 0.5783 GB, free: 4.605 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005589/0.2257, allocations: 118.1 kB / 0.5784 GB, free: 4.496 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2993/0.5251, allocations: 5.353 MB / 0.5836 GB, free: 33.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.5255, allocations: 0.8332 MB / 0.5844 GB, free: 32.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003652/0.5259, allocations: 83.31 kB / 0.5845 GB, free: 32.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002394/0.5261, allocations: 127.1 kB / 0.5846 GB, free: 32.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.543e-06/0.5261, allocations: 5.594 kB / 0.5846 GB, free: 32.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03108/0.5572, allocations: 7.781 MB / 0.5922 GB, free: 32.29 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/0.5574, allocations: 212.1 kB / 0.5924 GB, free: 32.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/2.376, allocations: 0 / 0.5924 GB, free: 32.05 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) Environment - environmentSimulation: