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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.43/1.43, allocations: 252 MB / 267.3 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000952/0.000952, allocations: 164.8 kB / 327 MB, free: 2.141 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.4 MB / 0.578 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009931/0.0009931, allocations: 87.73 kB / 0.6826 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000401/0.0004013, allocations: 8.719 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2765/0.2769, allocations: 106.3 MB / 0.9009 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.004669/0.2816, allocations: 4.487 MB / 0.9053 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003636/0.2853, allocations: 2.472 MB / 0.9077 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004173/0.2858, allocations: 19.81 kB / 0.9077 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.2861, allocations: 91.16 kB / 0.9078 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.2873, allocations: 414 kB / 0.9082 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008294/0.2881, allocations: 346.2 kB / 0.9085 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001044/0.2892, allocations: 1.124 MB / 0.9096 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008388/0.29, allocations: 472.2 kB / 0.9101 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004398/0.2905, allocations: 298.6 kB / 0.9104 GB, free: 53.69 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004022/0.2909, allocations: 330.5 kB / 0.9107 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.877e-05/0.291, allocations: 20 kB / 0.9107 GB, free: 53.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000877/0.2918, allocations: 498.9 kB / 0.9112 GB, free: 52.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.292, allocations: 167.3 kB / 0.9114 GB, free: 52.69 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000255/0.2923, allocations: 312 kB / 0.9116 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007883/0.2931, allocations: 0.8799 MB / 0.9125 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.2931, allocations: 0 / 0.9125 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2931, allocations: 0 / 0.9125 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.2931, allocations: 0 / 0.9125 GB, free: 51.5 MB / 0.6042 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.001214/0.2943, allocations: 0.8257 MB / 0.9133 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/0.2944, allocations: 8.031 kB / 0.9133 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.2945, allocations: 98.67 kB / 0.9134 GB, free: 50.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.2958, allocations: 207.7 kB / 0.9136 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005831/0.2964, allocations: 490.4 kB / 0.9141 GB, free: 49.79 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.925e-05/0.2964, allocations: 29.38 kB / 0.9141 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.567e-05/0.2965, allocations: 44.36 kB / 0.9142 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009596/0.2974, allocations: 0.8485 MB / 0.915 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/0.2975, allocations: 11.92 kB / 0.915 GB, free: 48.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.201e-05/0.2975, allocations: 27.98 kB / 0.915 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.345e-05/0.2976, allocations: 68.89 kB / 0.9151 GB, free: 48.62 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006964/0.2983, allocations: 0.5656 MB / 0.9156 GB, free: 48.06 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004033/0.3024, allocations: 5.65 MB / 0.9212 GB, free: 42.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006576/0.3031, allocations: 469.2 kB / 0.9216 GB, free: 41.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.3034, allocations: 232.7 kB / 0.9218 GB, free: 41.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.265e-05/0.3034, allocations: 4 kB / 0.9218 GB, free: 41.31 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.3034, allocations: 34.56 kB / 0.9219 GB, free: 41.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 3.927e-06/0.3035, allocations: 0 / 0.9219 GB, free: 41.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.002353/0.3058, allocations: 1.505 MB / 0.9233 GB, free: 39.65 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.3059, allocations: 55.41 kB / 0.9234 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004646/0.3063, allocations: 0.4949 MB / 0.9239 GB, free: 39.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.332e-05/0.3064, allocations: 29.7 kB / 0.9239 GB, free: 39.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.3066, allocations: 358.8 kB / 0.9242 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.833e-05/0.3066, allocations: 114.4 kB / 0.9243 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.147e-05/0.3067, allocations: 8 kB / 0.9244 GB, free: 38.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.3068, allocations: 366.8 kB / 0.9247 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.307, allocations: 201.1 kB / 0.9249 GB, free: 38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003395/0.3074, allocations: 443 kB / 0.9253 GB, free: 37.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006382/0.308, allocations: 0.6916 MB / 0.926 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.308, allocations: 7.938 kB / 0.926 GB, free: 36.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001043/0.3091, allocations: 0.8015 MB / 0.9268 GB, free: 35.81 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.3091, allocations: 10.97 kB / 0.9268 GB, free: 35.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.3092, allocations: 8 kB / 0.9268 GB, free: 35.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005003/0.3097, allocations: 160.5 kB / 0.927 GB, free: 35.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004135/0.3101, allocations: 123.8 kB / 0.9271 GB, free: 35.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002574/0.3127, allocations: 4.04 MB / 0.931 GB, free: 31.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.313, allocations: 31.97 kB / 0.931 GB, free: 31.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.971e-05/0.3131, allocations: 31.98 kB / 0.9311 GB, free: 31 MB / 0.6042 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.0002606/0.3134, allocations: 216.3 kB / 0.9313 GB, free: 30.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.334e-05/0.3134, allocations: 63.25 kB / 0.9313 GB, free: 30.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008732/0.3143, allocations: 0.6048 MB / 0.9319 GB, free: 30.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3143, allocations: 7.938 kB / 0.9319 GB, free: 30.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3144, allocations: 3.938 kB / 0.9319 GB, free: 30.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3144, allocations: 7.922 kB / 0.932 GB, free: 30.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/0.3158, allocations: 1.254 MB / 0.9332 GB, free: 28.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.3159, allocations: 4 kB / 0.9332 GB, free: 28.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.3161, allocations: 47.95 kB / 0.9332 GB, free: 28.68 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003529/0.3165, allocations: 148.3 kB / 0.9334 GB, free: 28.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.3165, allocations: 8 kB / 0.9334 GB, free: 28.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/0.3186, allocations: 4.024 MB / 0.9373 GB, free: 24.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.3186, allocations: 7.969 kB / 0.9373 GB, free: 24.08 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008268/0.3195, allocations: 0.6922 MB / 0.938 GB, free: 23.33 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.3196, allocations: 184.2 kB / 0.9382 GB, free: 23.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.032e-05/0.3197, allocations: 8 kB / 0.9382 GB, free: 23.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.3199, allocations: 23.97 kB / 0.9382 GB, free: 23.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.32, allocations: 31.95 kB / 0.9382 GB, free: 23.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.32, allocations: 8 kB / 0.9382 GB, free: 23.06 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002821/0.3203, allocations: 334.8 kB / 0.9386 GB, free: 22.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3203, allocations: 0 / 0.9386 GB, free: 22.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005783/0.3209, allocations: 136 kB / 0.9387 GB, free: 22.61 MB / 0.6042 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.001105/0.322, allocations: 1.278 MB / 0.9399 GB, free: 21.26 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001358/0.3234, allocations: 1.033 MB / 0.9409 GB, free: 20.15 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.3234, allocations: 0 / 0.9409 GB, free: 20.15 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006681/0.3241, allocations: 0.7301 MB / 0.9417 GB, free: 19.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.3251, allocations: 188.1 kB / 0.9418 GB, free: 19.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005326/0.3305, allocations: 5.427 MB / 0.9471 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.3309, allocations: 0.898 MB / 0.948 GB, free: 12.42 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003993/0.3313, allocations: 121.3 kB / 0.9481 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.3315, allocations: 195.4 kB / 0.9483 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of SimCode: time 6.02e-07/0.3315, allocations: 0 / 0.9483 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.3547, allocations: 12.01 MB / 0.96 GB, free: 364 kB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002205/0.3549, allocations: 241.6 kB / 0.9603 GB, free: 108 kB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.523/2.878, allocations: 0 / 0.9603 GB, free: 108 kB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1)