Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001747/0.001747, allocations: 108.8 kB / 16.38 MB, free: 6.004 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.002179/0.002179, allocations: 194.9 kB / 17.31 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.691/1.691, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.988/1.988, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 67.91 kB / 0.6729 GB, free: 5.891 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2935, allocations: 114.6 MB / 0.7848 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.5222/0.8157, allocations: 3.736 MB / 0.7885 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002857/0.8186, allocations: 1.84 MB / 0.7903 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.8189, allocations: 17.97 kB / 0.7903 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008458/0.8198, allocations: 259 kB / 0.7905 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005821/0.8204, allocations: 293.6 kB / 0.7908 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005/0.8209, allocations: 252.6 kB / 0.791 GB, free: 46.68 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005433/0.8215, allocations: 0.6054 MB / 0.7916 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004163/0.8219, allocations: 255.4 kB / 0.7919 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.8222, allocations: 234.5 kB / 0.7921 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.8225, allocations: 234 kB / 0.7923 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.156e-05/0.8225, allocations: 26.03 kB / 0.7924 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003987/0.8229, allocations: 274.4 kB / 0.7926 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.823, allocations: 124 kB / 0.7927 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.8232, allocations: 211 kB / 0.7929 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005382/0.8238, allocations: 0.5913 MB / 0.7935 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.8238, allocations: 0.7188 kB / 0.7935 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.964e-06/0.8238, allocations: 0 / 0.7935 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.8238, allocations: 0.5938 kB / 0.7935 GB, free: 46.29 MB / 0.6544 GB 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.0009968/0.8248, allocations: 0.7336 MB / 0.7942 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.8249, allocations: 11.05 kB / 0.7942 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008405/0.8257, allocations: 132.6 kB / 0.7944 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004767/0.8262, allocations: 409 kB / 0.7948 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.8262, allocations: 25.23 kB / 0.7948 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.835e-05/0.8263, allocations: 29.28 kB / 0.7948 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006841/0.827, allocations: 0.5549 MB / 0.7954 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.827, allocations: 3.5 kB / 0.7954 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.827, allocations: 16.61 kB / 0.7954 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.06e-05/0.8271, allocations: 44.75 kB / 0.7954 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005952/0.8277, allocations: 408.3 kB / 0.7958 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002119/0.8298, allocations: 3.327 MB / 0.7991 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006302/0.8305, allocations: 340.9 kB / 0.7994 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/0.8308, allocations: 181.4 kB / 0.7995 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.736e-05/0.8308, allocations: 2.219 kB / 0.7996 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.8308, allocations: 39.22 kB / 0.7996 GB, free: 42.51 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=26): time 1.503e-06/0.8308, allocations: 0 / 0.7996 GB, free: 42.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=27): time 0.001927/0.8328, allocations: 1.06 MB / 0.8006 GB, free: 42.06 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.8328, allocations: 53.95 kB / 0.8007 GB, free: 42 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.8331, allocations: 342.1 kB / 0.801 GB, free: 41.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.064e-05/0.8331, allocations: 32.61 kB / 0.801 GB, free: 41.78 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.8333, allocations: 250.3 kB / 0.8013 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.8333, allocations: 95.66 kB / 0.8014 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.8334, allocations: 78.72 kB / 0.8014 GB, free: 41.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.779e-05/0.8335, allocations: 344 kB / 0.8018 GB, free: 41.12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.8338, allocations: 153.5 kB / 0.8019 GB, free: 41.08 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/0.8342, allocations: 286.7 kB / 0.8022 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000615/0.8348, allocations: 491.1 kB / 0.8027 GB, free: 40.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.8348, allocations: 3.906 kB / 0.8027 GB, free: 40.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009391/0.8358, allocations: 0.5598 MB / 0.8032 GB, free: 40.33 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.8358, allocations: 12.34 kB / 0.8032 GB, free: 40.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.8358, allocations: 4.312 kB / 0.8032 GB, free: 40.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003166/0.8361, allocations: 82.69 kB / 0.8033 GB, free: 40.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003543/0.8365, allocations: 91.08 kB / 0.8034 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.8365, allocations: 12.12 kB / 0.8034 GB, free: 40.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.8368, allocations: 34.38 kB / 0.8034 GB, free: 40.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.8368, allocations: 14.53 kB / 0.8034 GB, free: 40.27 MB / 0.6544 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.0001814/0.837, allocations: 175.7 kB / 0.8036 GB, free: 40.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.785e-05/0.8371, allocations: 39.25 kB / 0.8036 GB, free: 40.1 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009459/0.838, allocations: 463 kB / 0.8041 GB, free: 39.89 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.8381, allocations: 9.578 kB / 0.8041 GB, free: 39.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.8381, allocations: 1.531 kB / 0.8041 GB, free: 39.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.8382, allocations: 137.6 kB / 0.8042 GB, free: 39.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.169e-05/0.8383, allocations: 6.609 kB / 0.8042 GB, free: 39.76 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.8385, allocations: 20.55 kB / 0.8043 GB, free: 39.76 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/0.8386, allocations: 18.47 kB / 0.8043 GB, free: 39.76 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001177/0.8398, allocations: 0.5403 MB / 0.8048 GB, free: 39.51 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001042/0.8408, allocations: 0.6887 MB / 0.8055 GB, free: 39.14 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003055/0.8411, allocations: 156.4 kB / 0.8056 GB, free: 39.09 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002715/0.8414, allocations: 233.8 kB / 0.8058 GB, free: 38.97 MB / 0.6544 GB Notification: Performance of Backend: time 7.31e-07/0.8414, allocations: 0 / 0.8058 GB, free: 38.97 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001532/0.843, allocations: 0.7239 MB / 0.8066 GB, free: 38.48 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001611/0.8446, allocations: 1.206 MB / 0.8077 GB, free: 37.62 MB / 0.6544 GB Notification: Performance of Templates: time 0.01692/0.8615, allocations: 6.493 MB / 0.8141 GB, free: 37.2 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1)