Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009688/0.0009689, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 226.5 MB / 245.4 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007747/0.0007748, allocations: 104.5 kB / 297.5 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002084/0.0002084, allocations: 4 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.212, allocations: 51.29 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1048/0.3169, allocations: 90.35 MB / 499.7 MB, free: 1.164 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.3172, allocations: 84.58 kB / 499.8 MB, free: 1.082 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4245/0.7417, allocations: 160.7 MB / 0.645 GB, free: 11.74 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.7417, allocations: 0 / 0.645 GB, free: 11.74 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001905/0.7419, allocations: 95.88 kB / 0.6451 GB, free: 11.64 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1224 * Number of variables: 1224 Notification: Performance of Generate backend data structure: time 0.01216/0.7541, allocations: 4.17 MB / 0.6492 GB, free: 7.406 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.7541, allocations: 8.031 kB / 0.6492 GB, free: 7.398 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005449/0.7596, allocations: 0.9872 MB / 0.6501 GB, free: 6.406 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00554/0.7651, allocations: 2.771 MB / 0.6528 GB, free: 3.586 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002905/0.7654, allocations: 321 kB / 0.6531 GB, free: 3.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009897/0.7664, allocations: 420.4 kB / 0.6535 GB, free: 2.859 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01208/0.7785, allocations: 6.592 MB / 0.66 GB, free: 12.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001051/0.7787, allocations: 15.83 kB / 0.66 GB, free: 12.06 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005047/0.7792, allocations: 188 kB / 0.6602 GB, free: 11.88 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002948/0.7795, allocations: 313.4 kB / 0.6605 GB, free: 11.57 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008403/0.7879, allocations: 4.73 MB / 0.6651 GB, free: 6.828 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2173/1.005, allocations: 20.99 MB / 0.6856 GB, free: 76.01 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004729/1.01, allocations: 5.589 MB / 0.6911 GB, free: 71.77 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009767/1.011, allocations: 0.7219 MB / 0.6918 GB, free: 71.76 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/1.011, allocations: 187.5 kB / 0.6919 GB, free: 71.57 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/1.011, allocations: 47.42 kB / 0.692 GB, free: 71.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=100): time 3.456e-06/1.011, allocations: 0 / 0.692 GB, free: 71.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=100): time 0.002187/1.013, allocations: 1.558 MB / 0.6935 GB, free: 71.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/1.013, allocations: 67.75 kB / 0.6936 GB, free: 71.33 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/1.015, allocations: 1.443 MB / 0.695 GB, free: 71.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.324e-05/1.015, allocations: 46.39 kB / 0.695 GB, free: 71.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000712/1.016, allocations: 1.96 MB / 0.6969 GB, free: 70.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/1.016, allocations: 369.3 kB / 0.6973 GB, free: 70.1 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.119e-05/1.016, allocations: 46.28 kB / 0.6973 GB, free: 70.1 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/1.016, allocations: 452.3 kB / 0.6978 GB, free: 69.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/1.017, allocations: 0.8428 MB / 0.6986 GB, free: 69.78 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/1.019, allocations: 1.984 MB / 0.7005 GB, free: 68.34 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002492/1.021, allocations: 3.005 MB / 0.7035 GB, free: 66.88 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.455e-05/1.021, allocations: 10.91 kB / 0.7035 GB, free: 66.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=289) (initialization): time 0.003335/1.025, allocations: 2.871 MB / 0.7063 GB, free: 66.73 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/1.025, allocations: 22.75 kB / 0.7063 GB, free: 66.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.21e-05/1.025, allocations: 39.5 kB / 0.7063 GB, free: 66.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.663e-05/1.025, allocations: 52 kB / 0.7064 GB, free: 66.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/1.026, allocations: 0.5381 MB / 0.7069 GB, free: 66.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-05/1.026, allocations: 76.64 kB / 0.707 GB, free: 66.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/1.027, allocations: 294.2 kB / 0.7073 GB, free: 66.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001321/1.028, allocations: 125 kB / 0.7074 GB, free: 66.65 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 178 * 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 (285): * Single equations (assignments): 281 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002229/1.03, allocations: 1.664 MB / 0.709 GB, free: 66.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/1.03, allocations: 135.9 kB / 0.7091 GB, free: 66.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/1.032, allocations: 1.44 MB / 0.7105 GB, free: 66.35 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001149/1.033, allocations: 1.015 MB / 0.7115 GB, free: 66.29 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.033, allocations: 0 / 0.7115 GB, free: 66.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/1.033, allocations: 10.05 kB / 0.7115 GB, free: 66.29 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01353/1.047, allocations: 13.35 MB / 0.7246 GB, free: 62.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.799e-05/1.047, allocations: 19.25 kB / 0.7246 GB, free: 62.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000626/1.047, allocations: 218 kB / 0.7248 GB, free: 62.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.869e-05/1.047, allocations: 26.69 kB / 0.7248 GB, free: 62.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.336e-05/1.047, allocations: 48.88 kB / 0.7249 GB, free: 62.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.898e-05/1.047, allocations: 38.2 kB / 0.7249 GB, free: 62.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-05/1.047, allocations: 34.59 kB / 0.7249 GB, free: 62.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002339/1.05, allocations: 2.604 MB / 0.7275 GB, free: 61.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004757/1.05, allocations: 340.5 kB / 0.7278 GB, free: 60.99 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/1.05, allocations: 43.92 kB / 0.7279 GB, free: 60.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006507/1.051, allocations: 72.5 kB / 0.7279 GB, free: 60.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/1.051, allocations: 130 kB / 0.728 GB, free: 60.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-05/1.051, allocations: 53.55 kB / 0.7281 GB, free: 60.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001028/1.052, allocations: 0.9807 MB / 0.7291 GB, free: 60.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/1.052, allocations: 0 / 0.7291 GB, free: 60.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00237/1.055, allocations: 0.956 MB / 0.73 GB, free: 60.58 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 87 * Number of states: 1 (currentSensor0.pin_p.reference.gamma) * 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 (101): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000316/1.055, allocations: 233.9 kB / 0.7302 GB, free: 60.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00221/1.057, allocations: 1.912 MB / 0.7321 GB, free: 60.26 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/1.057, allocations: 3.25 kB / 0.7321 GB, free: 60.26 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006895/1.058, allocations: 0.6292 MB / 0.7327 GB, free: 60.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004595/1.063, allocations: 360.3 kB / 0.733 GB, free: 60.19 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/1.074, allocations: 8.432 MB / 0.7413 GB, free: 55.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002861/1.076, allocations: 3.069 MB / 0.7443 GB, free: 55.16 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002044/1.078, allocations: 0.833 MB / 0.7451 GB, free: 55.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/1.079, allocations: 110.2 kB / 0.7452 GB, free: 55.08 MB / 442.7 MB Notification: Performance of SimCode: time 7.22e-07/1.079, allocations: 0 / 0.7452 GB, free: 55.08 MB / 442.7 MB Notification: Performance of Templates: time 0.03013/1.109, allocations: 17.43 MB / 0.7622 GB, free: 52.31 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingStar -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.o Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.c In file included from Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.c:7: In file included from ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_model.h:26: ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_functions.h:249:1: error: unknown type name '_omcQComplexOutput_24currentSensor_24currentSensor_24i' _omcQComplexOutput_24currentSensor_24currentSensor_24i omc__omcQComplexOutput_24currentSensor_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_functions.h:258:1: error: unknown type name '_omcQComplexOutput_24currentSensor_24i' _omcQComplexOutput_24currentSensor_24i omc__omcQComplexOutput_24currentSensor_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_functions.h:267:1: error: unknown type name '_omcQComplexOutput_24currentSensor0_24i' _omcQComplexOutput_24currentSensor0_24i omc__omcQComplexOutput_24currentSensor0_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar_functions.h:276:1: error: unknown type name '_omcQComplexOutput_24powerSensor_24powerSensor_24apparentPower' _omcQComplexOutput_24powerSensor_24powerSensor_24apparentPower omc__omcQComplexOutput_24powerSensor_24powerSensor_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 4 errors generated. make: *** [: Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingStar.o] Error 1