Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.725/1.725, allocations: 288.4 MB / 303.4 MB, free: 8.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 183 kB / 372 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.4 MB / 0.6307 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009675/0.0009673, allocations: 86.81 kB / 0.7441 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005854/0.0005855, allocations: 11.34 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2717, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005923/0.2777, allocations: 4.256 MB / 0.9837 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00441/0.2822, allocations: 2.352 MB / 0.986 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006938/0.2829, allocations: 19.81 kB / 0.9861 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000445/0.2834, allocations: 87.2 kB / 0.9861 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.2847, allocations: 350.1 kB / 0.9865 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00099/0.2857, allocations: 287.2 kB / 0.9868 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001102/0.2869, allocations: 0.9563 MB / 0.9877 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007737/0.2876, allocations: 428.2 kB / 0.9881 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004096/0.2881, allocations: 290.7 kB / 0.9884 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004339/0.2885, allocations: 318.6 kB / 0.9887 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.507e-05/0.2886, allocations: 20 kB / 0.9887 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000562/0.2892, allocations: 199.7 kB / 0.9889 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.2893, allocations: 155.5 kB / 0.989 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.2895, allocations: 137.3 kB / 0.9892 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006655/0.2901, allocations: 0.6508 MB / 0.9898 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2902, allocations: 0 / 0.9898 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.883e-06/0.2902, allocations: 0 / 0.9898 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.2902, allocations: 0 / 0.9898 GB, free: 17.15 MB / 0.6198 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.001371/0.2916, allocations: 0.8392 MB / 0.9906 GB, free: 16.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.2916, allocations: 8.031 kB / 0.9906 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001628/0.2933, allocations: 202.9 kB / 0.9908 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007487/0.294, allocations: 473.4 kB / 0.9913 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.2941, allocations: 40.92 kB / 0.9913 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.099e-05/0.2942, allocations: 43.98 kB / 0.9914 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.2954, allocations: 0.8367 MB / 0.9922 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.2954, allocations: 11.84 kB / 0.9922 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.486e-05/0.2955, allocations: 23.98 kB / 0.9922 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/0.2956, allocations: 68.95 kB / 0.9923 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009867/0.2966, allocations: 0.5694 MB / 0.9928 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004022/0.3006, allocations: 5.639 MB / 0.9983 GB, free: 7.797 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007453/0.3014, allocations: 465.1 kB / 0.9988 GB, free: 7.336 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003613/0.3018, allocations: 228.7 kB / 0.999 GB, free: 7.109 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.3018, allocations: 4 kB / 0.999 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.417e-05/0.3018, allocations: 34.56 kB / 0.999 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=32): time 3.126e-06/0.3018, allocations: 0 / 0.999 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33): time 0.002972/0.3048, allocations: 1.516 MB / 1.001 GB, free: 5.434 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.3049, allocations: 55.41 kB / 1.001 GB, free: 5.367 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005456/0.3054, allocations: 494.9 kB / 1.001 GB, free: 4.871 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.3055, allocations: 29.7 kB / 1.001 GB, free: 4.836 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.3057, allocations: 346.8 kB / 1.001 GB, free: 4.488 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.956e-05/0.3058, allocations: 126.3 kB / 1.002 GB, free: 4.363 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/0.3058, allocations: 12 kB / 1.002 GB, free: 4.352 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.887e-05/0.3059, allocations: 370.8 kB / 1.002 GB, free: 3.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.3063, allocations: 193.1 kB / 1.002 GB, free: 3.793 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/0.3067, allocations: 443 kB / 1.002 GB, free: 3.246 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.3072, allocations: 251.9 kB / 1.003 GB, free: 3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.3072, allocations: 4 kB / 1.003 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001506/0.3087, allocations: 0.8048 MB / 1.004 GB, free: 2.168 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.3088, allocations: 12.94 kB / 1.004 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.3088, allocations: 11.98 kB / 1.004 GB, free: 2.145 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005915/0.3094, allocations: 152.1 kB / 1.004 GB, free: 1.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005807/0.31, allocations: 123.8 kB / 1.004 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003687/0.3137, allocations: 4.028 MB / 1.008 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005926/0.3143, allocations: 35.97 kB / 1.008 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-05/0.3144, allocations: 28 kB / 1.008 GB, free: 13.37 MB / 0.6355 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003834/0.3147, allocations: 219.2 kB / 1.008 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.3149, allocations: 59.25 kB / 1.008 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.3164, allocations: 0.605 MB / 1.009 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.3164, allocations: 4 kB / 1.009 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.3164, allocations: 3.953 kB / 1.009 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.3165, allocations: 0 / 1.009 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/0.3192, allocations: 1.255 MB / 1.01 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/0.3192, allocations: 8.156 kB / 1.01 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003736/0.3196, allocations: 51.95 kB / 1.01 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006179/0.3202, allocations: 148.1 kB / 1.01 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.971e-05/0.3203, allocations: 8 kB / 1.01 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004459/0.3247, allocations: 4.029 MB / 1.014 GB, free: 6.457 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/0.3248, allocations: 7.938 kB / 1.014 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001708/0.3265, allocations: 0.7039 MB / 1.015 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004797/0.327, allocations: 168.4 kB / 1.015 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/0.3272, allocations: 11.94 kB / 1.015 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005222/0.3277, allocations: 19.97 kB / 1.015 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.3278, allocations: 35.89 kB / 1.015 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/0.3279, allocations: 12 kB / 1.015 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006453/0.3285, allocations: 322.9 kB / 1.015 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/0.3286, allocations: 4 kB / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001188/0.3298, allocations: 140 kB / 1.015 GB, free: 4.977 MB / 0.6355 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002226/0.33, allocations: 115.1 kB / 1.016 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002194/0.3322, allocations: 1.033 MB / 1.017 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.3322, allocations: 4.062 kB / 1.017 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.3334, allocations: 0.7309 MB / 1.017 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00158/0.335, allocations: 188.9 kB / 1.017 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.3377, allocations: 1.219 MB / 1.019 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007624/0.3385, allocations: 0.9019 MB / 1.019 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006787/0.3392, allocations: 121.3 kB / 1.02 GB, free: 436 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.3394, allocations: 35.44 kB / 1.02 GB, free: 400 kB / 0.6355 GB Notification: Performance of SimCode: time 1.243e-06/0.3394, allocations: 4 kB / 1.02 GB, free: 396 kB / 0.6355 GB Notification: Performance of Templates: time 0.02482/0.3642, allocations: 7.031 MB / 1.027 GB, free: 9.438 MB / 0.6511 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)