Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009043/0.0009045, allocations: 94.23 kB / 16.3 MB, free: 5.996 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.0009177/0.0009176, allocations: 180 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1715/0.1715, allocations: 38.05 MB / 309.7 MB, free: 6.125 MB / 254.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.0004766/0.0004766, allocations: 12 kB / 376.6 MB, free: 3.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2092, allocations: 56.32 MB / 432.9 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol): time 0.005756/0.215, allocations: 7.162 MB / 440.1 MB, free: 11.65 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006992/0.2221, allocations: 4.964 MB / 445 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000815/0.2229, allocations: 47.69 kB / 445.1 MB, free: 6.625 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003963/0.2269, allocations: 1.926 MB / 447 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.2279, allocations: 446.5 kB / 447.4 MB, free: 4.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.2289, allocations: 464.3 kB / 447.9 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008874/0.2298, allocations: 0.9369 MB / 448.8 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001027/0.2309, allocations: 1.042 MB / 449.9 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000537/0.2314, allocations: 0.5209 MB / 450.4 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005621/0.232, allocations: 0.5993 MB / 451 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.2321, allocations: 56 kB / 451.1 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002601/0.2324, allocations: 107.9 kB / 451.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002807/0.2327, allocations: 418.8 kB / 451.6 MB, free: 88 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002135/0.2329, allocations: 249.1 kB / 451.8 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.2341, allocations: 1.473 MB / 453.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.2341, allocations: 0 / 453.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2341, allocations: 0 / 453.3 MB, free: 14.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.2342, allocations: 4 kB / 453.3 MB, free: 14.35 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 231 * Number of variables: 231 Notification: Performance of Generate backend data structure: time 0.00318/0.2373, allocations: 1.475 MB / 454.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.2374, allocations: 8.031 kB / 454.8 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001973/0.2376, allocations: 143.7 kB / 454.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004096/0.238, allocations: 146.3 kB / 455.1 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002159/0.2402, allocations: 1.035 MB / 456.1 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.132e-05/0.2403, allocations: 70 kB / 456.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.2404, allocations: 91.89 kB / 456.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.2423, allocations: 1.324 MB / 457.6 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.2424, allocations: 0 / 457.6 MB, free: 9.906 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001015/0.2425, allocations: 40 kB / 457.6 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003196/0.2428, allocations: 89.88 kB / 457.7 MB, free: 9.781 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001816/0.2446, allocations: 1.151 MB / 458.8 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0073/0.2519, allocations: 4.955 MB / 463.8 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/0.2534, allocations: 0.9425 MB / 464.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.812e-05/0.2535, allocations: 20.69 kB / 464.8 MB, free: 2.492 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009562/0.2545, allocations: 0.6138 MB / 465.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of pre-optimization done (n=79): time 2.575e-06/0.2545, allocations: 0 / 465.4 MB, free: 1.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=81): time 0.008865/0.2634, allocations: 4.368 MB / 469.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.271e-05/0.2635, allocations: 166.9 kB / 469.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.2646, allocations: 0.8455 MB / 470.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.836e-05/0.2647, allocations: 45.64 kB / 470.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003666/0.2651, allocations: 0.5151 MB / 471.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/0.2653, allocations: 287.8 kB / 471.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.421e-05/0.2654, allocations: 20 kB / 471.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.2655, allocations: 349.9 kB / 472 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007331/0.2663, allocations: 481.7 kB / 472.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000874/0.2672, allocations: 0.7091 MB / 473.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008473/0.268, allocations: 0.573 MB / 473.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.268, allocations: 0 / 473.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.008439/0.2765, allocations: 3.03 MB / 476.7 MB, free: 6.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009618/0.2774, allocations: 2.623 MB / 479.4 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.406e-05/0.2775, allocations: 4 kB / 479.4 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008312/0.2858, allocations: 1.948 MB / 481.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000557/0.2864, allocations: 131.8 kB / 481.4 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0196/0.306, allocations: 13.41 MB / 494.9 MB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009141/0.3069, allocations: 63.89 kB / 494.9 MB, free: 3.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.071e-05/0.307, allocations: 51.98 kB / 495 MB, free: 3.203 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.834e-06/0.307, allocations: 0 / 495 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007966/0.315, allocations: 2.807 MB / 497.8 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.3151, allocations: 8.188 kB / 497.8 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007876/0.3229, allocations: 1.858 MB / 499.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005634/0.3235, allocations: 139.7 kB / 499.8 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01866/0.3422, allocations: 13.14 MB / 0.5009 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008107/0.343, allocations: 55.95 kB / 0.5009 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/0.3431, allocations: 47.98 kB / 0.501 GB, free: 0.6953 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,$whenCondition1,PI_i_q.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 1 {9 40} Notification: Performance of prepare postOptimizeDAE: time 0.000623/0.3438, allocations: 441 kB / 0.5014 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.3439, allocations: 106.9 kB / 0.5015 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002878/0.3468, allocations: 1.761 MB / 0.5032 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.425e-06/0.3468, allocations: 8 kB / 0.5032 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.3468, allocations: 4 kB / 0.5032 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.3469, allocations: 3.984 kB / 0.5032 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004666/0.3515, allocations: 3.017 MB / 0.5062 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.3516, allocations: 0 / 0.5062 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009215/0.3525, allocations: 171.8 kB / 0.5064 GB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/0.3539, allocations: 415.8 kB / 0.5068 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-05/0.3539, allocations: 27.98 kB / 0.5068 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006789/0.3607, allocations: 7.764 MB / 0.5144 GB, free: 2.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.3608, allocations: 3.938 kB / 0.5144 GB, free: 2.086 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1799/0.5407, allocations: 2.439 MB / 0.5167 GB, free: 84.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006745/0.5415, allocations: 272.6 kB / 0.517 GB, free: 84.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/0.5416, allocations: 22.8 kB / 0.517 GB, free: 84.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008159/0.5425, allocations: 52.38 kB / 0.5171 GB, free: 84.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003197/0.5428, allocations: 71.98 kB / 0.5171 GB, free: 84.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-05/0.5429, allocations: 34.64 kB / 0.5172 GB, free: 84.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001025/0.5439, allocations: 0.572 MB / 0.5177 GB, free: 83.95 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5439, allocations: 0 / 0.5177 GB, free: 83.95 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00231/0.5463, allocations: 0.5518 MB / 0.5183 GB, free: 83.95 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (asm_ctrl.rotor.phi,asm_ctrl.rotor.w,asm_ctrl.motor.i[3],asm_ctrl.motor.psi_s[1],asm_ctrl.motor.psi_s[2],asm_ctrl.motor.psi_rd[1],asm_ctrl.motor.psi_rd[2],asm_ctrl.motor.psi_rq[1],asm_ctrl.motor.psi_rq[2],asm_ctrl.motor.phiRotorflux,tabLoad.s,PI_i_q.I.y) * Number of discrete variables: 2 ($whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 3,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004983/0.5512, allocations: 3.5 MB / 0.5217 GB, free: 82.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006438/0.5577, allocations: 3.449 MB / 0.5251 GB, free: 81.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.5577, allocations: 1.062 kB / 0.5251 GB, free: 81.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002019/0.5598, allocations: 1.257 MB / 0.5263 GB, free: 80.72 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.561, allocations: 249 kB / 0.5265 GB, free: 80.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01899/0.58, allocations: 14.3 MB / 0.5405 GB, free: 71.51 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006521/0.5807, allocations: 1.269 MB / 0.5417 GB, free: 70.42 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008703/0.5816, allocations: 249.6 kB / 0.542 GB, free: 70.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006228/0.5822, allocations: 434.8 kB / 0.5424 GB, free: 69.86 MB / 398.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5822, allocations: 0 / 0.5424 GB, free: 69.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07559/0.6578, allocations: 40.94 MB / 0.5824 GB, free: 29.18 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/0.658, allocations: 251.9 kB / 0.5826 GB, free: 28.84 MB / 398.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol.c:7: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_functions.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_functions.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_functions.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_records.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_records.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_01exo.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_01exo.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_01exo.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_02nls.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_02nls.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_02nls.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_03lsy.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_03lsy.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_03lsy.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_04set.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_04set.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_04set.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_05evt.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_05evt.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_05evt.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_06inz.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_06inz.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_06inz.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_07dly.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_07dly.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_07dly.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_08bnd.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_08bnd.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_08bnd.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_09alg.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_09alg.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_09alg.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_10asr.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_10asr.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_10asr.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_11mix.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_11mix.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_11mix.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_12jac.o PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_12jac.c In file included from PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_12jac.c:2: In file included from ./PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_12jac.c:871:74: error: use of undeclared identifier 'asm_ctrl' array_alloc_scalar_real_array(&tmp35, 2, (modelica_real)real_array_get(asm_ctrl._motor._psi_rq._SeedNLSJac1, 1, ((modelica_integer) 1)), (modelica_real)jacobian->seedVars[5] /* asm_ctrl.motor.psi_rq.SeedNLSJac1[2] SEED_VAR */); ^ PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_12jac.c:889:164: error: use of undeclared identifier 'asm_ctrl' array_alloc_scalar_real_array(&tmp53, 2, (modelica_real)jacobian->seedVars[6] /* asm_ctrl.motor.psi_rd.SeedNLSJac1[1] SEED_VAR */, (modelica_real)real_array_get(asm_ctrl._motor._psi_rd._SeedNLSJac1, 1, ((modelica_integer) 2))); ^ PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_12jac.c:1954:74: error: use of undeclared identifier 'asm_ctrl' array_alloc_scalar_real_array(&tmp94, 2, (modelica_real)real_array_get(asm_ctrl._motor._psi_rq._SeedNLSJac4, 1, ((modelica_integer) 1)), (modelica_real)jacobian->seedVars[5] /* asm_ctrl.motor.psi_rq.SeedNLSJac4[2] SEED_VAR */); ^ PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_12jac.c:1972:165: error: use of undeclared identifier 'asm_ctrl' array_alloc_scalar_real_array(&tmp112, 2, (modelica_real)jacobian->seedVars[6] /* asm_ctrl.motor.psi_rd.SeedNLSJac4[1] SEED_VAR */, (modelica_real)real_array_get(asm_ctrl._motor._psi_rd._SeedNLSJac4, 1, ((modelica_integer) 2))); ^ 2 warnings and 4 errors generated. make: *** [: PowerSystems_PowerSystems_Examples_AC3ph_Drives_ASMav_icontrol_12jac.o] Error 1