Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.TestSensors.conf.json 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) Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Electrical_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002213/0.002217, allocations: 184.4 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.107/2.107, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 104.3 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.000395, allocations: 8 kB / 327.1 MB, free: 108 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3404, allocations: 47.58 MB / 374.6 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.007499/0.348, allocations: 4.864 MB / 379.5 MB, free: 41.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004455/0.3525, allocations: 1.622 MB / 381.1 MB, free: 40.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.3537, allocations: 38.16 kB / 381.2 MB, free: 40.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008968/0.3546, allocations: 258.8 kB / 381.4 MB, free: 40.1 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001816/0.3565, allocations: 286.4 kB / 381.7 MB, free: 39.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.3575, allocations: 223 kB / 381.9 MB, free: 39.69 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003099/0.3607, allocations: 1.28 MB / 383.2 MB, free: 38.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003678/0.3644, allocations: 1.858 MB / 385 MB, free: 37.9 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.3661, allocations: 0.6858 MB / 385.7 MB, free: 37.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001995/0.3682, allocations: 0.803 MB / 386.5 MB, free: 36.87 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000426/0.3686, allocations: 124 kB / 386.7 MB, free: 36.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.3697, allocations: 255.7 kB / 386.9 MB, free: 36.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005154/0.3702, allocations: 490.5 kB / 387.4 MB, free: 36.02 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005897/0.3708, allocations: 432.6 kB / 387.8 MB, free: 35.59 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003817/0.3746, allocations: 3.044 MB / 390.8 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3747, allocations: 0 / 390.8 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.3747, allocations: 0 / 390.8 MB, free: 32.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001133/0.3748, allocations: 0 / 390.8 MB, free: 32.54 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.006079/0.3809, allocations: 2.084 MB / 392.9 MB, free: 30.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.381, allocations: 12.03 kB / 392.9 MB, free: 30.38 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007577/0.3818, allocations: 332.6 kB / 393.3 MB, free: 30.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007745/0.3826, allocations: 237.3 kB / 393.5 MB, free: 29.81 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002753/0.3853, allocations: 1.153 MB / 394.7 MB, free: 28.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.3855, allocations: 168.5 kB / 394.8 MB, free: 28.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004754/0.386, allocations: 216 kB / 395 MB, free: 28.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006959/0.393, allocations: 2.51 MB / 397.5 MB, free: 25.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.228e-05/0.3931, allocations: 7.984 kB / 397.5 MB, free: 25.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002794/0.3934, allocations: 92 kB / 397.6 MB, free: 25.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.786e-05/0.3935, allocations: 56 kB / 397.7 MB, free: 25.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006026/0.3995, allocations: 2.13 MB / 399.8 MB, free: 23.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0174/0.417, allocations: 7.639 MB / 407.5 MB, free: 15.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.4186, allocations: 1.258 MB / 408.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.851e-05/0.4187, allocations: 8.562 kB / 408.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.4188, allocations: 47.08 kB / 408.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=63): time 4.048e-06/0.4188, allocations: 3.938 kB / 408.8 MB, free: 14.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=64): time 0.005688/0.4245, allocations: 2.584 MB / 411.4 MB, free: 11.37 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.4245, allocations: 59.97 kB / 411.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.4259, allocations: 0.7931 MB / 412.2 MB, free: 10.5 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.098e-05/0.426, allocations: 33.7 kB / 412.2 MB, free: 10.46 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000527/0.4265, allocations: 0.9395 MB / 413.2 MB, free: 9.508 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.4267, allocations: 220.8 kB / 413.4 MB, free: 9.289 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-05/0.4268, allocations: 16 kB / 413.4 MB, free: 9.273 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.642e-05/0.4269, allocations: 346.8 kB / 413.8 MB, free: 8.926 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008531/0.4277, allocations: 373.8 kB / 414.1 MB, free: 8.559 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009598/0.4287, allocations: 0.5789 MB / 414.7 MB, free: 7.883 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.4297, allocations: 469.8 kB / 415.2 MB, free: 7.426 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.4297, allocations: 4 kB / 415.2 MB, free: 7.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002503/0.4322, allocations: 1.089 MB / 416.2 MB, free: 6.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.4323, allocations: 12.09 kB / 416.3 MB, free: 6.309 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/0.4323, allocations: 8 kB / 416.3 MB, free: 6.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003589/0.4327, allocations: 88.8 kB / 416.4 MB, free: 6.211 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.434, allocations: 183.7 kB / 416.5 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/0.4363, allocations: 1.947 MB / 418.5 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009971/0.4374, allocations: 51.98 kB / 418.5 MB, free: 3.898 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.971e-05/0.4375, allocations: 28 kB / 418.6 MB, free: 3.871 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (91): * Single equations (assignments): 88 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001473/0.439, allocations: 0.6457 MB / 419.2 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/0.4393, allocations: 79.06 kB / 419.3 MB, free: 3.137 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.4395, allocations: 103.5 kB / 419.4 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.977e-05/0.4396, allocations: 8 kB / 419.4 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.4396, allocations: 0 / 419.4 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.4396, allocations: 7.984 kB / 419.4 MB, free: 3.016 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006032/0.4457, allocations: 2.632 MB / 422 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/0.4458, allocations: 0 / 422 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009101/0.4467, allocations: 115.8 kB / 422.1 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003022/0.447, allocations: 72.8 kB / 422.2 MB, free: 124 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.204e-05/0.4471, allocations: 16.23 kB / 422.2 MB, free: 108 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002923/0.45, allocations: 1.912 MB / 424.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.4501, allocations: 3.984 kB / 424.1 MB, free: 14.06 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003814/0.4539, allocations: 1.426 MB / 425.6 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006886/0.4547, allocations: 228 kB / 425.8 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.4548, allocations: 15.98 kB / 425.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007411/0.4556, allocations: 48.02 kB / 425.9 MB, free: 12.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/0.4558, allocations: 44.44 kB / 425.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.688e-05/0.4559, allocations: 16 kB / 425.9 MB, free: 12.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001218/0.4571, allocations: 0.5497 MB / 426.5 MB, free: 11.68 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.4571, allocations: 0 / 426.5 MB, free: 11.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001679/0.4588, allocations: 308 kB / 426.8 MB, free: 11.38 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (56): * Single equations (assignments): 53 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004435/0.4633, allocations: 2.14 MB / 428.9 MB, free: 9.195 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002805/0.4661, allocations: 0.9902 MB / 429.9 MB, free: 8.191 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/0.4662, allocations: 4 kB / 429.9 MB, free: 8.188 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001486/0.4677, allocations: 0.5383 MB / 430.4 MB, free: 7.641 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/0.4695, allocations: 209.2 kB / 430.6 MB, free: 7.438 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0225/0.4921, allocations: 12.47 MB / 443.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002133/0.4943, allocations: 1.723 MB / 444.8 MB, free: 8.953 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001423/0.4957, allocations: 0.6477 MB / 445.5 MB, free: 8.305 MB / 330.7 MB Notification: Performance of SimCode: time 1.503e-06/0.4958, allocations: 0 / 445.5 MB, free: 8.305 MB / 330.7 MB [CodegenCppOld.tpl:10995:11-10995:11:writable] Error: Template error: Unsupported type of array call assign: ERROR:expTypeFromExpFlag Modelica.Electrical.Machines.SpacePhasors.Functions.ToSpacePhasor({inductor.i[1], inductor.inductor[2].i, inductor.inductor[3].i})[1] . [CodegenCppOld.tpl:10995:11-10995:11:writable] Error: Template error: Unsupported type of array call assign: ERROR:expTypeFromExpFlag Modelica.Electrical.Machines.SpacePhasors.Functions.ToSpacePhasor({sineVoltage.v[1] - starLoad.plug_p.pin[3].v, sineVoltage.v[2] - starLoad.plug_p.pin[3].v, sineVoltage.v[3] - starLoad.plug_p.pin[3].v})[1] . [CodegenCppOld.tpl:10995:11-10995:11:writable] Error: Template error: Unsupported type of array call assign: ERROR:expTypeFromExpFlag Modelica.Electrical.Machines.SpacePhasors.Functions.ToSpacePhasor({inductor.inductor[1].i, inductor.inductor[2].i, inductor.inductor[3].i})[1] . [CodegenCppOld.tpl:10995:11-10995:11:writable] Error: Template error: Unsupported type of array call assign: ERROR:expTypeFromExpFlag Modelica.Electrical.Machines.SpacePhasors.Functions.ToSpacePhasor({sineVoltage.v[1] - starLoad.plug_p.pin[3].v, sineVoltage.v[2] - starLoad.plug_p.pin[3].v, sineVoltage.v[3] - starLoad.plug_p.pin[3].v})[1] .