Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001182/0.001182, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001403/0.001403, allocations: 195.8 kB / 16.25 MB, free: 6.629 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.887/1.887, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.637/1.637, allocations: 251.6 MB / 0.5089 GB, free: 3.312 MB / 414.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.001356/0.001356, allocations: 63.91 kB / 0.6218 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6803/0.6817, allocations: 104.7 MB / 0.724 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.007371/0.6892, allocations: 4.887 MB / 0.7288 GB, free: 8.164 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00475/0.6939, allocations: 2.491 MB / 0.7312 GB, free: 5.66 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004606/0.6944, allocations: 23.81 kB / 0.7312 GB, free: 5.637 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.6959, allocations: 366.5 kB / 0.7316 GB, free: 5.277 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001351/0.6972, allocations: 414 kB / 0.732 GB, free: 4.871 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001214/0.6985, allocations: 342 kB / 0.7323 GB, free: 4.539 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001986/0.7005, allocations: 0.9096 MB / 0.7332 GB, free: 3.625 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001108/0.7016, allocations: 392.4 kB / 0.7336 GB, free: 3.242 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006709/0.7023, allocations: 346.5 kB / 0.7339 GB, free: 2.902 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005698/0.7029, allocations: 358.5 kB / 0.7342 GB, free: 2.551 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.799e-05/0.7029, allocations: 40 kB / 0.7343 GB, free: 2.512 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001015/0.704, allocations: 399.1 kB / 0.7346 GB, free: 2.121 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002334/0.7042, allocations: 187.4 kB / 0.7348 GB, free: 1.938 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003835/0.7046, allocations: 314.2 kB / 0.7351 GB, free: 1.629 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.706, allocations: 0.9071 MB / 0.736 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.7061, allocations: 0 / 0.736 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.948e-06/0.7061, allocations: 4 kB / 0.736 GB, free: 0.7148 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.7061, allocations: 0 / 0.736 GB, free: 0.7148 MB / 0.545 GB 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.001641/0.7077, allocations: 0.9424 MB / 0.7369 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.904e-05/0.7078, allocations: 12.03 kB / 0.7369 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.7091, allocations: 207.7 kB / 0.7371 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007711/0.7099, allocations: 490.4 kB / 0.7376 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.499e-05/0.71, allocations: 41.3 kB / 0.7377 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.831e-05/0.7101, allocations: 40.38 kB / 0.7377 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.7114, allocations: 0.8448 MB / 0.7385 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.545e-05/0.7115, allocations: 7.938 kB / 0.7385 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.399e-05/0.7116, allocations: 23.98 kB / 0.7385 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001065/0.7117, allocations: 64.95 kB / 0.7386 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000972/0.7126, allocations: 0.5695 MB / 0.7392 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006101/0.7188, allocations: 5.647 MB / 0.7447 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007723/0.7196, allocations: 466.2 kB / 0.7451 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.7199, allocations: 228.7 kB / 0.7453 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.458e-05/0.72, allocations: 4 kB / 0.7453 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.904e-05/0.72, allocations: 34.56 kB / 0.7454 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 2.805e-06/0.72, allocations: 0 / 0.7454 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.002795/0.7228, allocations: 1.505 MB / 0.7469 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.7229, allocations: 55.41 kB / 0.7469 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005522/0.7235, allocations: 0.491 MB / 0.7474 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.7235, allocations: 33.7 kB / 0.7474 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002544/0.7238, allocations: 350.8 kB / 0.7477 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.899e-05/0.7239, allocations: 118.4 kB / 0.7479 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001648/0.724, allocations: 110.2 kB / 0.748 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.7242, allocations: 366.8 kB / 0.7483 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/0.7245, allocations: 201.2 kB / 0.7485 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005351/0.7251, allocations: 443 kB / 0.7489 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000891/0.726, allocations: 0.6877 MB / 0.7496 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.79e-06/0.726, allocations: 4 kB / 0.7496 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001248/0.7273, allocations: 0.805 MB / 0.7504 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.7273, allocations: 8 kB / 0.7504 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.7273, allocations: 8.844 kB / 0.7504 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004972/0.7278, allocations: 160 kB / 0.7506 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004265/0.7282, allocations: 119.8 kB / 0.7507 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003704/0.732, allocations: 4.344 MB / 0.7549 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004384/0.7324, allocations: 31.97 kB / 0.7549 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.7325, allocations: 28 kB / 0.755 GB, free: 11.8 MB / 0.5762 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.0003135/0.7328, allocations: 221.4 kB / 0.7552 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.7329, allocations: 63.31 kB / 0.7552 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.7339, allocations: 0.6009 MB / 0.7558 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.734, allocations: 4 kB / 0.7558 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.734, allocations: 0 / 0.7558 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.734, allocations: 0 / 0.7558 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001856/0.7358, allocations: 1.266 MB / 0.7571 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.7359, allocations: 4 kB / 0.7571 GB, free: 9.523 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002466/0.7361, allocations: 51.95 kB / 0.7571 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004198/0.7365, allocations: 152.3 kB / 0.7573 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.796e-05/0.7366, allocations: 11.94 kB / 0.7573 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003464/0.7401, allocations: 4.324 MB / 0.7615 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/0.7401, allocations: 11.95 kB / 0.7615 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.7411, allocations: 0.704 MB / 0.7622 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002236/0.7414, allocations: 180.2 kB / 0.7624 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.989e-05/0.7414, allocations: 8 kB / 0.7624 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.7417, allocations: 19.97 kB / 0.7624 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.27e-05/0.7418, allocations: 39.89 kB / 0.7624 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.7418, allocations: 12 kB / 0.7625 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004589/0.7423, allocations: 330.9 kB / 0.7628 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7423, allocations: 0 / 0.7628 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007473/0.743, allocations: 140 kB / 0.7629 GB, free: 3.047 MB / 0.5762 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.0001789/0.7432, allocations: 115.4 kB / 0.763 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001551/0.7448, allocations: 1.076 MB / 0.7641 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.7448, allocations: 0 / 0.7641 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008444/0.7456, allocations: 0.7427 MB / 0.7648 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00099/0.7466, allocations: 201.2 kB / 0.765 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.7484, allocations: 1.242 MB / 0.7662 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007853/0.7492, allocations: 0.9097 MB / 0.7671 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003625/0.7495, allocations: 117.3 kB / 0.7672 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.7496, allocations: 39.44 kB / 0.7672 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of SimCode: time 3.31e-07/0.7497, allocations: 0 / 0.7672 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of Templates: time 0.01635/0.766, allocations: 7.66 MB / 0.7747 GB, free: 6.801 MB / 0.5919 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)