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.001214/0.001214, allocations: 105.9 kB / 16.4 MB, free: 6.508 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.001235/0.001236, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.399/1.399, 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.8082/0.8082, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 66.02 kB / 0.5577 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1898, allocations: 76.17 MB / 0.6321 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005493/0.1954, allocations: 3.735 MB / 0.6357 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003217/0.1986, allocations: 1.793 MB / 0.6375 GB, free: 14.87 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002061/0.1988, allocations: 15.88 kB / 0.6375 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008678/0.1997, allocations: 270.6 kB / 0.6377 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006094/0.2004, allocations: 314.4 kB / 0.638 GB, free: 14.28 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005346/0.2009, allocations: 253.8 kB / 0.6383 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006355/0.2016, allocations: 0.6088 MB / 0.6389 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004403/0.202, allocations: 251.1 kB / 0.6391 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003251/0.2023, allocations: 251.1 kB / 0.6394 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003049/0.2026, allocations: 231 kB / 0.6396 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.062e-05/0.2027, allocations: 24 kB / 0.6396 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004026/0.2031, allocations: 275.4 kB / 0.6399 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.2033, allocations: 123.6 kB / 0.64 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.2035, allocations: 202.9 kB / 0.6402 GB, free: 12.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006021/0.2041, allocations: 0.5917 MB / 0.6408 GB, free: 11.49 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2041, allocations: 0 / 0.6408 GB, free: 11.49 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2041, allocations: 0 / 0.6408 GB, free: 11.49 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.2041, allocations: 7.984 kB / 0.6408 GB, free: 11.48 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.00119/0.2053, allocations: 0.7322 MB / 0.6415 GB, free: 10.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.2053, allocations: 12.03 kB / 0.6415 GB, free: 10.69 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008742/0.2062, allocations: 136.2 kB / 0.6416 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005738/0.2068, allocations: 407.6 kB / 0.642 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.2068, allocations: 17.03 kB / 0.642 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.915e-05/0.2069, allocations: 28.38 kB / 0.642 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000828/0.2077, allocations: 0.555 MB / 0.6426 GB, free: 9.453 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.2078, allocations: 7.922 kB / 0.6426 GB, free: 9.445 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.796e-05/0.2078, allocations: 12 kB / 0.6426 GB, free: 9.434 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.607e-05/0.2079, allocations: 44.55 kB / 0.6427 GB, free: 9.387 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007227/0.2086, allocations: 409.7 kB / 0.643 GB, free: 8.988 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003022/0.2116, allocations: 3.337 MB / 0.6463 GB, free: 5.398 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006607/0.2123, allocations: 338.4 kB / 0.6466 GB, free: 5.059 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.2126, allocations: 176.8 kB / 0.6468 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.2127, allocations: 0 / 0.6468 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/0.2127, allocations: 38.56 kB / 0.6468 GB, free: 4.836 MB / 494.1 MB Notification: Performance of pre-optimization done (n=26): time 1.152e-06/0.2127, allocations: 0 / 0.6468 GB, free: 4.836 MB / 494.1 MB Notification: Performance of matching and sorting (n=27): time 0.002028/0.2147, allocations: 1.066 MB / 0.6479 GB, free: 3.699 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.2148, allocations: 55.64 kB / 0.6479 GB, free: 3.633 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.2152, allocations: 341.6 kB / 0.6482 GB, free: 3.285 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.2152, allocations: 33.64 kB / 0.6483 GB, free: 3.246 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.2154, allocations: 251.4 kB / 0.6485 GB, free: 2.996 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.391e-05/0.2155, allocations: 90.73 kB / 0.6486 GB, free: 2.906 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001198/0.2156, allocations: 81.95 kB / 0.6487 GB, free: 2.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.2158, allocations: 342.8 kB / 0.649 GB, free: 2.477 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/0.216, allocations: 152.8 kB / 0.6492 GB, free: 2.328 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.2164, allocations: 290.5 kB / 0.6494 GB, free: 1.977 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006987/0.2171, allocations: 476.7 kB / 0.6499 GB, free: 1.449 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2172, allocations: 4 kB / 0.6499 GB, free: 1.445 MB / 494.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001041/0.2182, allocations: 0.566 MB / 0.6504 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.2182, allocations: 8 kB / 0.6505 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.2182, allocations: 4 kB / 0.6505 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003179/0.2186, allocations: 82.52 kB / 0.6505 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/0.2189, allocations: 92.16 kB / 0.6506 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.837e-05/0.219, allocations: 12 kB / 0.6506 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002485/0.2192, allocations: 31.91 kB / 0.6507 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.2193, allocations: 16 kB / 0.6507 GB, free: 0.6133 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.000215/0.2195, allocations: 177.6 kB / 0.6509 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.021e-05/0.2196, allocations: 39.53 kB / 0.6509 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009083/0.2205, allocations: 468 kB / 0.6513 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.2205, allocations: 4 kB / 0.6513 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.2205, allocations: 0 / 0.6513 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.2205, allocations: 3.984 kB / 0.6513 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.2219, allocations: 0.9668 MB / 0.6523 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2219, allocations: 0 / 0.6523 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.2221, allocations: 47.95 kB / 0.6523 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002229/0.2224, allocations: 90.44 kB / 0.6524 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.2224, allocations: 4.094 kB / 0.6524 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.2224, allocations: 8 kB / 0.6524 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2224, allocations: 0 / 0.6524 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008652/0.2233, allocations: 0.5428 MB / 0.653 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.2235, allocations: 144.6 kB / 0.6531 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.581e-05/0.2235, allocations: 8 kB / 0.6531 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.2238, allocations: 19.97 kB / 0.6531 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.237e-05/0.2239, allocations: 27.91 kB / 0.6532 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.907e-05/0.2239, allocations: 8 kB / 0.6532 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002498/0.2241, allocations: 239.1 kB / 0.6534 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2242, allocations: 0 / 0.6534 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004164/0.2246, allocations: 88 kB / 0.6535 GB, free: 13.6 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.0001576/0.2247, allocations: 111.1 kB / 0.6536 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000947/0.2257, allocations: 0.6357 MB / 0.6542 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2257, allocations: 3.938 kB / 0.6542 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004614/0.2262, allocations: 433.7 kB / 0.6546 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006923/0.2269, allocations: 122.7 kB / 0.6547 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.2281, allocations: 0.7191 MB / 0.6554 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004394/0.2285, allocations: 0.8273 MB / 0.6562 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002233/0.2288, allocations: 79.36 kB / 0.6563 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.977e-05/0.2289, allocations: 31.44 kB / 0.6563 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.2289, allocations: 0 / 0.6563 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of Templates: time 0.009208/0.2381, allocations: 4.736 MB / 0.661 GB, free: 5.781 MB / 0.4981 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)