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.00965/0.00965, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001772/0.001772, allocations: 190.5 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.724/1.724, allocations: 251.7 MB / 0.5094 GB, free: 2.996 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.001594/0.001594, allocations: 71.91 kB / 0.7258 GB, free: 8.996 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2928, allocations: 104.7 MB / 0.828 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006685/0.2995, allocations: 4.866 MB / 0.8328 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.004277/0.3039, allocations: 2.491 MB / 0.8352 GB, free: 8.793 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004366/0.3043, allocations: 23.81 kB / 0.8352 GB, free: 8.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.3056, allocations: 405.8 kB / 0.8356 GB, free: 8.371 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.3068, allocations: 441.7 kB / 0.8361 GB, free: 7.938 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009373/0.3077, allocations: 377.5 kB / 0.8364 GB, free: 7.57 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001067/0.3088, allocations: 0.9095 MB / 0.8373 GB, free: 6.656 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005772/0.3094, allocations: 358.4 kB / 0.8376 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004265/0.3098, allocations: 338.7 kB / 0.838 GB, free: 5.973 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004513/0.3103, allocations: 346.5 kB / 0.8383 GB, free: 5.633 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.224e-05/0.3103, allocations: 44 kB / 0.8383 GB, free: 5.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007741/0.3111, allocations: 395.1 kB / 0.8387 GB, free: 5.203 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.3113, allocations: 191.3 kB / 0.8389 GB, free: 5.016 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0003264/0.3117, allocations: 310.3 kB / 0.8392 GB, free: 4.711 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.3127, allocations: 0.8915 MB / 0.8401 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.3127, allocations: 0 / 0.8401 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3128, allocations: 0 / 0.8401 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.162e-05/0.3128, allocations: 0 / 0.8401 GB, free: 3.816 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001499/0.3143, allocations: 0.9308 MB / 0.841 GB, free: 2.836 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.3143, allocations: 8.031 kB / 0.841 GB, free: 2.828 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.3156, allocations: 199.8 kB / 0.8412 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008453/0.3165, allocations: 0.5451 MB / 0.8417 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.3165, allocations: 29.38 kB / 0.8417 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.229e-05/0.3166, allocations: 48.36 kB / 0.8418 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.3178, allocations: 0.8487 MB / 0.8426 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.3178, allocations: 7.938 kB / 0.8426 GB, free: 0.9805 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.466e-05/0.3179, allocations: 35.89 kB / 0.8426 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-05/0.318, allocations: 56.97 kB / 0.8427 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008471/0.3188, allocations: 0.5733 MB / 0.8433 GB, free: 324 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004798/0.3236, allocations: 5.643 MB / 0.8488 GB, free: 10.28 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006455/0.3243, allocations: 454.2 kB / 0.8492 GB, free: 9.828 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00032/0.3246, allocations: 228.7 kB / 0.8494 GB, free: 9.602 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.3247, allocations: 8 kB / 0.8494 GB, free: 9.594 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.3247, allocations: 34.56 kB / 0.8495 GB, free: 9.551 MB / 0.67 GB Notification: Performance of pre-optimization done (n=32): time 3.706e-06/0.3247, allocations: 0 / 0.8495 GB, free: 9.551 MB / 0.67 GB Notification: Performance of matching and sorting (n=33): time 0.002696/0.3274, allocations: 1.5 MB / 0.8509 GB, free: 7.938 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.3275, allocations: 55.41 kB / 0.851 GB, free: 7.871 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005451/0.328, allocations: 0.4911 MB / 0.8515 GB, free: 7.367 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.3281, allocations: 33.64 kB / 0.8515 GB, free: 7.328 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.3283, allocations: 366.8 kB / 0.8518 GB, free: 6.965 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 9.035e-05/0.3284, allocations: 110.4 kB / 0.8519 GB, free: 6.855 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.3286, allocations: 110.2 kB / 0.8521 GB, free: 6.742 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3287, allocations: 366.8 kB / 0.8524 GB, free: 6.375 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002849/0.329, allocations: 193.2 kB / 0.8526 GB, free: 6.184 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004543/0.3295, allocations: 454.5 kB / 0.853 GB, free: 5.625 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008065/0.3303, allocations: 0.6916 MB / 0.8537 GB, free: 4.816 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.3303, allocations: 0 / 0.8537 GB, free: 4.816 MB / 0.67 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001311/0.3316, allocations: 0.8096 MB / 0.8545 GB, free: 3.984 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.3317, allocations: 8 kB / 0.8545 GB, free: 3.977 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.3317, allocations: 12 kB / 0.8545 GB, free: 3.965 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005032/0.3322, allocations: 156 kB / 0.8547 GB, free: 3.797 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/0.3327, allocations: 127.9 kB / 0.8548 GB, free: 3.672 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003385/0.3361, allocations: 4.328 MB / 0.859 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004337/0.3365, allocations: 35.97 kB / 0.859 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.755e-05/0.3366, allocations: 28 kB / 0.8591 GB, free: 14.86 MB / 0.6856 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.0002839/0.3369, allocations: 220.8 kB / 0.8593 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.455e-05/0.337, allocations: 63.25 kB / 0.8593 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.338, allocations: 0.6087 MB / 0.8599 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.338, allocations: 7.938 kB / 0.8599 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.338, allocations: 4 kB / 0.8599 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.338, allocations: 3.984 kB / 0.8599 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.3398, allocations: 1.254 MB / 0.8612 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.3398, allocations: 8.219 kB / 0.8612 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.34, allocations: 47.95 kB / 0.8612 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003989/0.3405, allocations: 148.1 kB / 0.8614 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.3405, allocations: 7.938 kB / 0.8614 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003481/0.344, allocations: 4.344 MB / 0.8656 GB, free: 7.594 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.344, allocations: 4 kB / 0.8656 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.3451, allocations: 0.7192 MB / 0.8663 GB, free: 6.816 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002679/0.3454, allocations: 164.3 kB / 0.8665 GB, free: 6.637 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.607e-05/0.3455, allocations: 11.94 kB / 0.8665 GB, free: 6.625 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.3457, allocations: 19.97 kB / 0.8665 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.008e-05/0.3458, allocations: 39.89 kB / 0.8665 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.3458, allocations: 12 kB / 0.8666 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0003636/0.3462, allocations: 330.8 kB / 0.8669 GB, free: 6.234 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3462, allocations: 0 / 0.8669 GB, free: 6.234 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0006683/0.3469, allocations: 144 kB / 0.867 GB, free: 6.094 MB / 0.6856 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.0001558/0.347, allocations: 107.2 kB / 0.8671 GB, free: 5.977 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001457/0.3485, allocations: 1.033 MB / 0.8681 GB, free: 4.863 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.3485, allocations: 4 kB / 0.8681 GB, free: 4.859 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009021/0.3494, allocations: 0.7425 MB / 0.8688 GB, free: 4.035 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000978/0.3504, allocations: 206.7 kB / 0.869 GB, free: 3.84 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.352, allocations: 1.018 MB / 0.87 GB, free: 2.773 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/0.3525, allocations: 0.9019 MB / 0.8709 GB, free: 1.844 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002937/0.3528, allocations: 113.3 kB / 0.871 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.209e-05/0.3529, allocations: 43.44 kB / 0.8711 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of SimCode: time 9.52e-07/0.3529, allocations: 0 / 0.8711 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of Templates: time 0.01471/0.3676, allocations: 7.695 MB / 0.8786 GB, free: 10.09 MB / 0.7012 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)