Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 108.7 kB / 16.41 MB, free: 6.473 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.0014/0.001401, allocations: 189.2 kB / 17.34 MB, free: 5.754 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7875/0.7875, allocations: 115.3 MB / 406.5 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 67.34 kB / 0.5577 GB, free: 32.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1647, allocations: 76.18 MB / 0.6321 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.00721/0.172, allocations: 4.838 MB / 0.6368 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003994/0.176, allocations: 2.452 MB / 0.6392 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003365/0.1763, allocations: 23.81 kB / 0.6392 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.1777, allocations: 400.8 kB / 0.6396 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.1788, allocations: 465.6 kB / 0.64 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009088/0.1797, allocations: 378.2 kB / 0.6404 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008641/0.1806, allocations: 0.929 MB / 0.6413 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005003/0.1811, allocations: 354.4 kB / 0.6416 GB, free: 10.57 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003736/0.1815, allocations: 342.6 kB / 0.642 GB, free: 10.24 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000491/0.182, allocations: 350.5 kB / 0.6423 GB, free: 9.895 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.652e-05/0.182, allocations: 40 kB / 0.6423 GB, free: 9.855 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006116/0.1827, allocations: 399.1 kB / 0.6427 GB, free: 9.465 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001832/0.1828, allocations: 179.4 kB / 0.6429 GB, free: 9.289 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002761/0.1831, allocations: 322.2 kB / 0.6432 GB, free: 8.973 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009566/0.1841, allocations: 0.876 MB / 0.6441 GB, free: 8.094 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1841, allocations: 0 / 0.6441 GB, free: 8.094 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1841, allocations: 0 / 0.6441 GB, free: 8.094 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.1841, allocations: 0 / 0.6441 GB, free: 8.094 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001283/0.1854, allocations: 0.9424 MB / 0.645 GB, free: 7.102 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.1855, allocations: 8.031 kB / 0.645 GB, free: 7.094 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.1867, allocations: 199.9 kB / 0.6452 GB, free: 6.898 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007914/0.1875, allocations: 0.5373 MB / 0.6457 GB, free: 6.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.1875, allocations: 33.38 kB / 0.6457 GB, free: 6.285 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-05/0.1876, allocations: 48.27 kB / 0.6458 GB, free: 6.238 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000981/0.1886, allocations: 0.8487 MB / 0.6466 GB, free: 5.254 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.1886, allocations: 7.938 kB / 0.6466 GB, free: 5.246 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.091e-05/0.1887, allocations: 23.98 kB / 0.6466 GB, free: 5.223 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.164e-05/0.1888, allocations: 64.95 kB / 0.6467 GB, free: 5.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007521/0.1895, allocations: 0.5656 MB / 0.6473 GB, free: 4.594 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004145/0.1937, allocations: 5.639 MB / 0.6528 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005958/0.1943, allocations: 462.8 kB / 0.6532 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.1946, allocations: 224.7 kB / 0.6534 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.1946, allocations: 4 kB / 0.6534 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.1947, allocations: 42.56 kB / 0.6535 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.603e-06/0.1947, allocations: 0 / 0.6535 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33): time 0.002456/0.1971, allocations: 1.509 MB / 0.6549 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.1972, allocations: 55.69 kB / 0.655 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004559/0.1976, allocations: 495 kB / 0.6555 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.1977, allocations: 33.7 kB / 0.6555 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002925/0.198, allocations: 358.8 kB / 0.6558 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.1981, allocations: 118.3 kB / 0.656 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.1983, allocations: 114.1 kB / 0.6561 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1984, allocations: 366.8 kB / 0.6564 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.1987, allocations: 193.2 kB / 0.6566 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004877/0.1992, allocations: 447.3 kB / 0.657 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007392/0.1999, allocations: 0.6913 MB / 0.6577 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.1999, allocations: 4 kB / 0.6577 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001138/0.2011, allocations: 0.8058 MB / 0.6585 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.2011, allocations: 10.19 kB / 0.6585 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.2011, allocations: 12 kB / 0.6585 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000535/0.2017, allocations: 160.3 kB / 0.6587 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004341/0.2021, allocations: 123.8 kB / 0.6588 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003296/0.2054, allocations: 4.344 MB / 0.663 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003757/0.2058, allocations: 35.97 kB / 0.6631 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.2059, allocations: 28 kB / 0.6631 GB, free: 3.125 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002646/0.2061, allocations: 221.6 kB / 0.6633 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-05/0.2062, allocations: 59.25 kB / 0.6633 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.2073, allocations: 0.593 MB / 0.6639 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2073, allocations: 0 / 0.6639 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2073, allocations: 4 kB / 0.6639 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2073, allocations: 4 kB / 0.6639 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.209, allocations: 1.271 MB / 0.6652 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.209, allocations: 0 / 0.6652 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.2093, allocations: 51.95 kB / 0.6652 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003818/0.2096, allocations: 140.1 kB / 0.6654 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.2097, allocations: 11.94 kB / 0.6654 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003686/0.2134, allocations: 4.337 MB / 0.6696 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.2134, allocations: 11.95 kB / 0.6696 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009286/0.2143, allocations: 0.7043 MB / 0.6703 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001798/0.2145, allocations: 172.3 kB / 0.6705 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/0.2146, allocations: 8 kB / 0.6705 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.2148, allocations: 23.97 kB / 0.6705 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.322e-05/0.2149, allocations: 35.89 kB / 0.6705 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.2149, allocations: 8 kB / 0.6705 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003458/0.2153, allocations: 334.9 kB / 0.6709 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2153, allocations: 0 / 0.6709 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006804/0.216, allocations: 136 kB / 0.671 GB, free: 10.39 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002476/0.2162, allocations: 119.4 kB / 0.6711 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001393/0.2176, allocations: 1.032 MB / 0.6721 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2177, allocations: 0 / 0.6721 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007861/0.2185, allocations: 0.7313 MB / 0.6728 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009274/0.2194, allocations: 193.2 kB / 0.673 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.221, allocations: 1.032 MB / 0.674 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005593/0.2215, allocations: 0.9097 MB / 0.6749 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002968/0.2218, allocations: 125.3 kB / 0.675 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.789e-05/0.2219, allocations: 35.44 kB / 0.6751 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of SimCode: time 4.31e-07/0.222, allocations: 4 kB / 0.6751 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of Templates: time 0.01367/0.2356, allocations: 7.675 MB / 0.6826 GB, free: 14.38 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)