Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.955/1.955, allocations: 292.3 MB / 308.1 MB, free: 4.301 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.001458/0.001458, allocations: 196.4 kB / 376.9 MB, free: 1.801 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.785/1.785, allocations: 205.1 MB / 0.6354 GB, free: 9.809 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00121/0.001211, allocations: 101 kB / 0.748 GB, free: 61.31 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.001071, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3297, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.009098/0.3389, allocations: 4.874 MB / 0.987 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00505/0.344, allocations: 2.515 MB / 0.9894 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007789/0.3448, allocations: 23.81 kB / 0.9895 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.3462, allocations: 366.5 kB / 0.9898 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001639/0.3479, allocations: 418 kB / 0.9902 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.3492, allocations: 347.3 kB / 0.9905 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.002066/0.3512, allocations: 1.128 MB / 0.9916 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.3524, allocations: 355.5 kB / 0.992 GB, free: 352 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.3535, allocations: 306.6 kB / 0.9923 GB, free: 44 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.3546, allocations: 350.6 kB / 0.9926 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0002348/0.3549, allocations: 24 kB / 0.9926 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001371/0.3563, allocations: 0.491 MB / 0.9931 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0002613/0.3565, allocations: 175.4 kB / 0.9933 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0004115/0.357, allocations: 310.2 kB / 0.9936 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.3581, allocations: 0.8914 MB / 0.9944 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.3581, allocations: 3.938 kB / 0.9945 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.12e-07/0.3581, allocations: 0 / 0.9945 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.3582, allocations: 0 / 0.9945 GB, free: 13.81 MB / 0.7292 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.00187/0.36, allocations: 0.9463 MB / 0.9954 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.3601, allocations: 8.031 kB / 0.9954 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.3613, allocations: 191.9 kB / 0.9956 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007801/0.3621, allocations: 494.3 kB / 0.996 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/0.3622, allocations: 37.36 kB / 0.9961 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.881e-05/0.3623, allocations: 44.36 kB / 0.9961 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.3634, allocations: 0.8487 MB / 0.9969 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.3634, allocations: 11.94 kB / 0.997 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.96e-05/0.3634, allocations: 23.98 kB / 0.997 GB, free: 11 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.58e-05/0.3636, allocations: 64.95 kB / 0.997 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007778/0.3643, allocations: 0.5616 MB / 0.9976 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005281/0.3696, allocations: 5.65 MB / 1.003 GB, free: 4.332 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007058/0.3704, allocations: 458.2 kB / 1.004 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.3707, allocations: 224.7 kB / 1.004 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.3707, allocations: 0 / 1.004 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.3708, allocations: 42.56 kB / 1.004 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 1.784e-06/0.3708, allocations: 3.938 kB / 1.004 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33): time 0.002515/0.3733, allocations: 1.515 MB / 1.005 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.3733, allocations: 55.41 kB / 1.005 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005323/0.3739, allocations: 495 kB / 1.006 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.3739, allocations: 29.7 kB / 1.006 GB, free: 1.371 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.3742, allocations: 358.8 kB / 1.006 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.3743, allocations: 126.3 kB / 1.006 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.3744, allocations: 110.2 kB / 1.006 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3746, allocations: 362.8 kB / 1.007 GB, free: 424 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.3749, allocations: 193.2 kB / 1.007 GB, free: 232 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004979/0.3754, allocations: 450.8 kB / 1.007 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008541/0.3763, allocations: 0.6875 MB / 1.008 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.3763, allocations: 4 kB / 1.008 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001307/0.3776, allocations: 0.806 MB / 1.009 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.3776, allocations: 12.06 kB / 1.009 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.3777, allocations: 12 kB / 1.009 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005676/0.3782, allocations: 156 kB / 1.009 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004698/0.3787, allocations: 123.8 kB / 1.009 GB, free: 13.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00381/0.3825, allocations: 4.036 MB / 1.013 GB, free: 9.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004624/0.383, allocations: 31.97 kB / 1.013 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.385e-05/0.3831, allocations: 28 kB / 1.013 GB, free: 9.223 MB / 0.7448 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.0004034/0.3835, allocations: 218.3 kB / 1.013 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.3836, allocations: 63.25 kB / 1.013 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.3848, allocations: 0.6006 MB / 1.014 GB, free: 8.316 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3848, allocations: 8 kB / 1.014 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3848, allocations: 3.984 kB / 1.014 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.3848, allocations: 3.938 kB / 1.014 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/0.3871, allocations: 1.253 MB / 1.015 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3871, allocations: 4 kB / 1.015 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.3873, allocations: 51.95 kB / 1.015 GB, free: 6.902 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004159/0.3878, allocations: 144.3 kB / 1.015 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.3878, allocations: 8 kB / 1.015 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003348/0.3912, allocations: 4.029 MB / 1.019 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3912, allocations: 4.156 kB / 1.019 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/0.393, allocations: 1.599 MB / 1.021 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.3933, allocations: 164.4 kB / 1.021 GB, free: 444 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.597e-05/0.3934, allocations: 11.98 kB / 1.021 GB, free: 432 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.3936, allocations: 23.97 kB / 1.021 GB, free: 408 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.531e-05/0.3937, allocations: 35.84 kB / 1.021 GB, free: 372 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.3938, allocations: 8 kB / 1.021 GB, free: 364 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003793/0.3941, allocations: 334.8 kB / 1.021 GB, free: 32 kB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3941, allocations: 0 / 1.021 GB, free: 32 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.6261/1.02, allocations: 140.5 kB / 1.022 GB, free: 97.6 MB / 0.7448 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.0001948/1.021, allocations: 111.2 kB / 1.022 GB, free: 97.51 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001573/1.022, allocations: 1.029 MB / 1.023 GB, free: 96.99 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.022, allocations: 2.344 kB / 1.023 GB, free: 96.99 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007574/1.023, allocations: 0.7374 MB / 1.023 GB, free: 96.46 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/1.024, allocations: 177.1 kB / 1.024 GB, free: 96.46 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002359/1.026, allocations: 1.476 MB / 1.025 GB, free: 95.67 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006237/1.027, allocations: 0.918 MB / 1.026 GB, free: 94.96 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000409/1.027, allocations: 114.1 kB / 1.026 GB, free: 94.96 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/1.028, allocations: 45.78 kB / 1.026 GB, free: 94.95 MB / 0.7448 GB Notification: Performance of SimCode: time 1.804e-06/1.028, allocations: 4.078 kB / 1.026 GB, free: 94.95 MB / 0.7448 GB Notification: Performance of Templates: time 0.01784/1.045, allocations: 7.561 MB / 1.033 GB, free: 94.65 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)