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.001207/0.001208, allocations: 106.4 kB / 16.4 MB, free: 6.438 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.001248/0.001248, allocations: 193.2 kB / 17.34 MB, free: 5.707 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7637/0.7637, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 68 kB / 0.5572 GB, free: 32.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1791, allocations: 76.19 MB / 0.6316 GB, free: 4.938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.008858/0.188, allocations: 3.726 MB / 0.6352 GB, free: 1.188 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004762/0.1928, allocations: 1.793 MB / 0.637 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005334/0.1934, allocations: 15.94 kB / 0.637 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.1948, allocations: 277.1 kB / 0.6373 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.196, allocations: 286.5 kB / 0.6375 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.1971, allocations: 251.5 kB / 0.6378 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00189/0.199, allocations: 0.6049 MB / 0.6384 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007821/0.1998, allocations: 250.5 kB / 0.6386 GB, free: 13.71 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007853/0.2006, allocations: 251.1 kB / 0.6388 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006333/0.2013, allocations: 231 kB / 0.6391 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.2014, allocations: 31.94 kB / 0.6391 GB, free: 13.21 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008653/0.2023, allocations: 271.4 kB / 0.6394 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002516/0.2025, allocations: 115.6 kB / 0.6395 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00042/0.203, allocations: 214.9 kB / 0.6397 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001519/0.2045, allocations: 0.5875 MB / 0.6402 GB, free: 12.04 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.2045, allocations: 8 kB / 0.6402 GB, free: 12.03 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.2045, allocations: 0 / 0.6402 GB, free: 12.03 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.68e-05/0.2046, allocations: 0 / 0.6402 GB, free: 12.03 MB / 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.002044/0.2066, allocations: 0.7284 MB / 0.641 GB, free: 11.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.333e-05/0.2067, allocations: 12.03 kB / 0.641 GB, free: 11.24 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001531/0.2069, allocations: 78.69 kB / 0.641 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.2083, allocations: 132.2 kB / 0.6412 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008997/0.2093, allocations: 395.7 kB / 0.6415 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.503e-05/0.2093, allocations: 28.95 kB / 0.6416 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.317e-05/0.2094, allocations: 32.36 kB / 0.6416 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.2106, allocations: 0.5548 MB / 0.6421 GB, free: 9.914 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/0.2107, allocations: 0 / 0.6421 GB, free: 9.914 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.117e-05/0.2107, allocations: 15.94 kB / 0.6422 GB, free: 9.898 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001091/0.2108, allocations: 48.53 kB / 0.6422 GB, free: 9.848 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.2121, allocations: 409.7 kB / 0.6426 GB, free: 9.449 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004769/0.2169, allocations: 3.341 MB / 0.6459 GB, free: 5.855 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.2179, allocations: 330.5 kB / 0.6462 GB, free: 5.523 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004298/0.2184, allocations: 180.2 kB / 0.6464 GB, free: 5.348 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.2184, allocations: 4 kB / 0.6464 GB, free: 5.344 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/0.2185, allocations: 38.56 kB / 0.6464 GB, free: 5.297 MB / 494.1 MB Notification: Performance of pre-optimization done (n=26): time 2.444e-06/0.2185, allocations: 7.875 kB / 0.6464 GB, free: 5.289 MB / 494.1 MB Notification: Performance of matching and sorting (n=27): time 0.002856/0.2214, allocations: 1.059 MB / 0.6474 GB, free: 4.156 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.2214, allocations: 51.64 kB / 0.6475 GB, free: 4.094 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004563/0.2219, allocations: 337.6 kB / 0.6478 GB, free: 3.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.15e-05/0.2219, allocations: 33.64 kB / 0.6478 GB, free: 3.711 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.2222, allocations: 251.5 kB / 0.6481 GB, free: 3.461 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.2223, allocations: 94.66 kB / 0.6482 GB, free: 3.367 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.2224, allocations: 74.03 kB / 0.6482 GB, free: 3.289 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002636/0.2227, allocations: 350.8 kB / 0.6486 GB, free: 2.938 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/0.2231, allocations: 148.8 kB / 0.6487 GB, free: 2.793 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005499/0.2237, allocations: 286.5 kB / 0.649 GB, free: 2.445 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.2247, allocations: 488.6 kB / 0.6495 GB, free: 1.906 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.2247, allocations: 0 / 0.6495 GB, free: 1.906 MB / 494.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001436/0.2262, allocations: 0.558 MB / 0.65 GB, free: 1.332 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.2262, allocations: 11.94 kB / 0.65 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.2262, allocations: 4 kB / 0.65 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004009/0.2266, allocations: 95.06 kB / 0.6501 GB, free: 1.215 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004653/0.2271, allocations: 83.89 kB / 0.6502 GB, free: 1.133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.747e-05/0.2272, allocations: 19.86 kB / 0.6502 GB, free: 1.113 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000397/0.2276, allocations: 23.97 kB / 0.6502 GB, free: 1.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-05/0.2276, allocations: 20 kB / 0.6502 GB, free: 1.07 MB / 494.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 (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.000267/0.2279, allocations: 173.6 kB / 0.6504 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.228, allocations: 39.53 kB / 0.6504 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.2294, allocations: 472 kB / 0.6509 GB, free: 384 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.2294, allocations: 4 kB / 0.6509 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.2294, allocations: 0 / 0.6509 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2294, allocations: 0 / 0.6509 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002066/0.2315, allocations: 0.9669 MB / 0.6518 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.2315, allocations: 0 / 0.6518 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/0.2318, allocations: 55.89 kB / 0.6519 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003258/0.2322, allocations: 78.61 kB / 0.652 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.2322, allocations: 8 kB / 0.652 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.249e-06/0.2322, allocations: 0 / 0.652 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2323, allocations: 4 kB / 0.652 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.2335, allocations: 0.5467 MB / 0.6525 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/0.2338, allocations: 136.6 kB / 0.6526 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.701e-05/0.2339, allocations: 7.938 kB / 0.6527 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/0.2342, allocations: 31.84 kB / 0.6527 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.2343, allocations: 19.97 kB / 0.6527 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.2344, allocations: 12 kB / 0.6527 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004012/0.2348, allocations: 235.2 kB / 0.6529 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2348, allocations: 4 kB / 0.6529 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007108/0.2355, allocations: 91.94 kB / 0.653 GB, free: 14.05 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.001551/0.2371, allocations: 1.088 MB / 0.6541 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001516/0.2386, allocations: 0.6342 MB / 0.6547 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.2386, allocations: 0 / 0.6547 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000733/0.2394, allocations: 434.9 kB / 0.6551 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.2404, allocations: 140.6 kB / 0.6553 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00774/0.2482, allocations: 3.716 MB / 0.6589 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0012/0.2494, allocations: 0.8308 MB / 0.6597 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004944/0.25, allocations: 79.34 kB / 0.6598 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003229/0.2503, allocations: 127.4 kB / 0.6599 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of SimCode: time 2.044e-06/0.2503, allocations: 4 kB / 0.6599 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03288/0.2832, allocations: 8.431 MB / 0.6681 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/10.42, allocations: 14.05 kB / 0.6682 GB, free: 14.35 MB / 0.5137 GB (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/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)