Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001062/0.001062, allocations: 203 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.211/1.211, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008747/0.0008746, allocations: 96.09 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002061/0.0002061, allocations: 4 kB / 357.9 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1984, allocations: 51.48 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1013/0.2997, allocations: 90.3 MB / 499.7 MB, free: 320 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.3, allocations: 87.95 kB / 499.8 MB, free: 232 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4104/0.7105, allocations: 143.1 MB / 0.6279 GB, free: 11.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.7105, allocations: 0 / 0.6279 GB, free: 11.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001634/0.7107, allocations: 83.88 kB / 0.6279 GB, free: 11.51 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1104 * Number of variables: 1104 Notification: Performance of Generate backend data structure: time 0.01103/0.7217, allocations: 3.833 MB / 0.6317 GB, free: 7.613 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.7217, allocations: 8.031 kB / 0.6317 GB, free: 7.605 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005003/0.7268, allocations: 0.9556 MB / 0.6326 GB, free: 6.645 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004335/0.7311, allocations: 2.431 MB / 0.635 GB, free: 4.164 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/0.7313, allocations: 295.8 kB / 0.6353 GB, free: 3.875 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005242/0.7318, allocations: 388 kB / 0.6356 GB, free: 3.496 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008611/0.7404, allocations: 5.872 MB / 0.6414 GB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.626e-05/0.7405, allocations: 7.891 kB / 0.6414 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003483/0.7409, allocations: 164 kB / 0.6415 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002331/0.7411, allocations: 276.5 kB / 0.6418 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006198/0.7473, allocations: 4.34 MB / 0.646 GB, free: 8.676 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02195/0.7693, allocations: 18.89 MB / 0.6645 GB, free: 5.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004086/0.7734, allocations: 3.896 MB / 0.6683 GB, free: 0.7266 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/0.7736, allocations: 191.2 kB / 0.6685 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.7736, allocations: 51.45 kB / 0.6685 GB, free: 456 kB / 442.7 MB Notification: Performance of pre-optimization done (n=106): time 3.176e-06/0.7737, allocations: 3.938 kB / 0.6685 GB, free: 452 kB / 442.7 MB Notification: Performance of matching and sorting (n=106): time 0.1917/0.9653, allocations: 1.973 MB / 0.6705 GB, free: 89.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.9654, allocations: 64.52 kB / 0.6705 GB, free: 89.65 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/0.9669, allocations: 1.195 MB / 0.6717 GB, free: 89.51 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.704e-05/0.967, allocations: 43.48 kB / 0.6717 GB, free: 89.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006707/0.9677, allocations: 1.745 MB / 0.6734 GB, free: 88.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002297/0.9679, allocations: 389.2 kB / 0.6738 GB, free: 88.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.945e-05/0.968, allocations: 44.75 kB / 0.6739 GB, free: 88.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.9682, allocations: 443.3 kB / 0.6743 GB, free: 88.26 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.9692, allocations: 0.8633 MB / 0.6751 GB, free: 88.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/0.9707, allocations: 1.852 MB / 0.6769 GB, free: 87.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.9722, allocations: 1.316 MB / 0.6782 GB, free: 87 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.511e-05/0.9722, allocations: 9.969 kB / 0.6782 GB, free: 87 MB / 442.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003265/0.9755, allocations: 2.808 MB / 0.681 GB, free: 86.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.9755, allocations: 24.06 kB / 0.681 GB, free: 86.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.151e-05/0.9756, allocations: 36.28 kB / 0.681 GB, free: 86.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.455e-05/0.9756, allocations: 50.31 kB / 0.6811 GB, free: 86.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.9772, allocations: 0.5286 MB / 0.6816 GB, free: 86.88 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-05/0.9772, allocations: 71.11 kB / 0.6817 GB, free: 86.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.9784, allocations: 292 kB / 0.6819 GB, free: 86.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001853/0.9786, allocations: 116.4 kB / 0.682 GB, free: 86.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (275): * Single equations (assignments): 271 * 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.00204/0.9806, allocations: 1.488 MB / 0.6835 GB, free: 86.69 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/0.9809, allocations: 126.7 kB / 0.6836 GB, free: 86.62 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002072/0.983, allocations: 1.543 MB / 0.6851 GB, free: 86.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001209/0.9842, allocations: 1.107 MB / 0.6862 GB, free: 86.47 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.9842, allocations: 3.703 kB / 0.6862 GB, free: 86.47 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.9842, allocations: 5.344 kB / 0.6862 GB, free: 86.47 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01282/0.997, allocations: 13.92 MB / 0.6998 GB, free: 81.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.828e-05/0.9971, allocations: 19 kB / 0.6998 GB, free: 81.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006791/0.9978, allocations: 227.4 kB / 0.7 GB, free: 81.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.196e-05/0.9978, allocations: 29.94 kB / 0.7001 GB, free: 81.95 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.991e-05/0.9979, allocations: 52.44 kB / 0.7001 GB, free: 81.94 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.965e-05/0.9979, allocations: 37.06 kB / 0.7002 GB, free: 81.94 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.585e-05/0.9979, allocations: 36.19 kB / 0.7002 GB, free: 81.94 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002725/1.001, allocations: 3.92 MB / 0.704 GB, free: 79.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/1.001, allocations: 243.5 kB / 0.7043 GB, free: 79.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/1.001, allocations: 56.31 kB / 0.7043 GB, free: 79.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006644/1.002, allocations: 69.72 kB / 0.7044 GB, free: 79.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/1.002, allocations: 144.3 kB / 0.7045 GB, free: 79.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-05/1.002, allocations: 59.11 kB / 0.7046 GB, free: 79.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008793/1.003, allocations: 0.8946 MB / 0.7054 GB, free: 79.07 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.003, allocations: 3.844 kB / 0.7054 GB, free: 79.07 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002165/1.005, allocations: 0.8845 MB / 0.7063 GB, free: 78.82 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 93 * Number of states: 1 (currentSensor31.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 (107): * Single equations (assignments): 103 * 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.0003055/1.005, allocations: 229.2 kB / 0.7065 GB, free: 78.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002152/1.008, allocations: 1.951 MB / 0.7084 GB, free: 78.65 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/1.008, allocations: 3.5 kB / 0.7084 GB, free: 78.65 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006742/1.008, allocations: 0.6642 MB / 0.7091 GB, free: 78.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001209/1.009, allocations: 315.6 kB / 0.7094 GB, free: 78.64 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007804/1.017, allocations: 7.773 MB / 0.717 GB, free: 74.69 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001888/1.019, allocations: 2.866 MB / 0.7198 GB, free: 73.89 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001572/1.021, allocations: 0.7709 MB / 0.7205 GB, free: 73.83 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/1.021, allocations: 109.5 kB / 0.7206 GB, free: 73.82 MB / 442.7 MB Notification: Performance of SimCode: time 9.11e-07/1.021, allocations: 0 / 0.7206 GB, free: 73.82 MB / 442.7 MB Notification: Performance of Templates: time 0.02381/1.045, allocations: 16.18 MB / 0.7364 GB, free: 72.93 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_BalancingDelta -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.BalancingDelta.o Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.c In file included from Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.c:7: In file included from ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_model.h:24: ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_functions.h:273: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.BalancingDelta_functions.h:282: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.BalancingDelta_functions.h:291:1: error: unknown type name '_omcQComplexOutput_24currentSensor12_24i' _omcQComplexOutput_24currentSensor12_24i omc__omcQComplexOutput_24currentSensor12_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_functions.h:300:1: error: unknown type name '_omcQComplexOutput_24currentSensor23_24i' _omcQComplexOutput_24currentSensor23_24i omc__omcQComplexOutput_24currentSensor23_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_functions.h:309:1: error: unknown type name '_omcQComplexOutput_24currentSensor31_24i' _omcQComplexOutput_24currentSensor31_24i omc__omcQComplexOutput_24currentSensor31_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_functions.h:318: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); ^ 6 errors generated. make: *** [: Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.o] Error 1