Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 177.1 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 223.3 MB / 241.4 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007862/0.0007862, allocations: 99.72 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004102, allocations: 11.94 kB / 352.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2238, allocations: 50.39 MB / 402.7 MB, free: 32.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09739/0.3212, allocations: 89.51 MB / 492.3 MB, free: 6.832 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.3215, allocations: 87.95 kB / 492.3 MB, free: 6.746 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4203/0.7418, allocations: 135.2 MB / 0.6128 GB, free: 14.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.7419, allocations: 0 / 0.6128 GB, free: 14.41 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002468/0.7421, allocations: 83.94 kB / 0.6129 GB, free: 14.33 MB / 394.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.01175/0.7539, allocations: 3.759 MB / 0.6166 GB, free: 10.51 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.7539, allocations: 8.031 kB / 0.6166 GB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005339/0.7593, allocations: 0.9565 MB / 0.6175 GB, free: 9.543 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004744/0.764, allocations: 2.451 MB / 0.6199 GB, free: 7.043 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002692/0.7643, allocations: 297 kB / 0.6202 GB, free: 6.754 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009524/0.7653, allocations: 379.9 kB / 0.6206 GB, free: 6.383 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01209/0.7774, allocations: 5.923 MB / 0.6263 GB, free: 316 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/0.7775, allocations: 7.938 kB / 0.6264 GB, free: 308 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006181/0.7782, allocations: 164 kB / 0.6265 GB, free: 144 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003017/0.7785, allocations: 276.5 kB / 0.6268 GB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008614/0.7871, allocations: 4.34 MB / 0.631 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02751/0.8146, allocations: 18.65 MB / 0.6492 GB, free: 8.219 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004451/0.8191, allocations: 3.9 MB / 0.653 GB, free: 3.859 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001384/0.8205, allocations: 0.844 MB / 0.6539 GB, free: 3.016 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/0.8207, allocations: 102.1 kB / 0.654 GB, free: 2.898 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.8208, allocations: 43.56 kB / 0.654 GB, free: 2.848 MB / 426.7 MB Notification: Performance of pre-optimization done (n=106): time 3.466e-06/0.8208, allocations: 0 / 0.654 GB, free: 2.848 MB / 426.7 MB Notification: Performance of matching and sorting (n=106): time 0.002676/0.8234, allocations: 1.643 MB / 0.6556 GB, free: 1.195 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.8235, allocations: 64.41 kB / 0.6557 GB, free: 1.121 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/0.8257, allocations: 1.318 MB / 0.6569 GB, free: 15.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.576e-05/0.8258, allocations: 45.7 kB / 0.657 GB, free: 15.73 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001073/0.8269, allocations: 1.757 MB / 0.6587 GB, free: 13.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003244/0.8272, allocations: 382.7 kB / 0.6591 GB, free: 13.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.8274, allocations: 44 kB / 0.6591 GB, free: 13.53 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002354/0.8276, allocations: 443.1 kB / 0.6595 GB, free: 13.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/0.8289, allocations: 0.8552 MB / 0.6604 GB, free: 12.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001924/0.8309, allocations: 1.861 MB / 0.6622 GB, free: 9.879 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003223/0.8341, allocations: 2.866 MB / 0.665 GB, free: 6.531 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.219e-05/0.8341, allocations: 12 kB / 0.665 GB, free: 6.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.004281/0.8384, allocations: 2.797 MB / 0.6677 GB, free: 3.715 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.806e-05/0.8385, allocations: 23.94 kB / 0.6678 GB, free: 3.691 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.665e-05/0.8386, allocations: 36.16 kB / 0.6678 GB, free: 3.656 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.328e-05/0.8386, allocations: 48 kB / 0.6678 GB, free: 3.609 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001639/0.8403, allocations: 0.5226 MB / 0.6683 GB, free: 3.086 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-05/0.8403, allocations: 71.72 kB / 0.6684 GB, free: 3.016 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.8418, allocations: 293.2 kB / 0.6687 GB, free: 2.727 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/0.842, allocations: 120 kB / 0.6688 GB, free: 2.609 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 156 * 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.002353/0.8443, allocations: 1.477 MB / 0.6703 GB, free: 1.121 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002364/0.8446, allocations: 134.3 kB / 0.6704 GB, free: 0.9883 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.224/1.069, allocations: 1.515 MB / 0.6719 GB, free: 96.37 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001588/1.07, allocations: 1.094 MB / 0.6729 GB, free: 96.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/1.07, allocations: 3.656 kB / 0.6729 GB, free: 96.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/1.07, allocations: 7.359 kB / 0.6729 GB, free: 96.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/1.084, allocations: 12.16 MB / 0.6848 GB, free: 93.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.281e-05/1.084, allocations: 18.97 kB / 0.6848 GB, free: 93.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009461/1.085, allocations: 226.5 kB / 0.6851 GB, free: 93.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-05/1.085, allocations: 29.81 kB / 0.6851 GB, free: 93.55 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.73e-05/1.085, allocations: 60.11 kB / 0.6851 GB, free: 93.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.517e-05/1.085, allocations: 36.22 kB / 0.6852 GB, free: 93.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.92e-05/1.085, allocations: 36.91 kB / 0.6852 GB, free: 93.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003004/1.088, allocations: 2.757 MB / 0.6879 GB, free: 92.61 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003809/1.089, allocations: 255.5 kB / 0.6881 GB, free: 92.47 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/1.089, allocations: 46.38 kB / 0.6882 GB, free: 92.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007051/1.089, allocations: 69.78 kB / 0.6883 GB, free: 92.47 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/1.09, allocations: 143 kB / 0.6884 GB, free: 92.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001199/1.09, allocations: 63.88 kB / 0.6885 GB, free: 92.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001366/1.091, allocations: 0.8918 MB / 0.6893 GB, free: 92.35 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.091, allocations: 3.656 kB / 0.6893 GB, free: 92.35 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002478/1.094, allocations: 0.8912 MB / 0.6902 GB, free: 92.21 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * 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 (109): * Single equations (assignments): 105 * 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.0003847/1.094, allocations: 238.2 kB / 0.6904 GB, free: 92.13 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002725/1.097, allocations: 1.929 MB / 0.6923 GB, free: 92.08 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/1.097, allocations: 3.562 kB / 0.6923 GB, free: 92.08 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008099/1.098, allocations: 0.6622 MB / 0.693 GB, free: 92.08 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004596/1.102, allocations: 337.2 kB / 0.6933 GB, free: 92.08 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/1.112, allocations: 7.787 MB / 0.7009 GB, free: 88.21 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002053/1.115, allocations: 2.811 MB / 0.7036 GB, free: 87.41 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001807/1.116, allocations: 0.7656 MB / 0.7044 GB, free: 87.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/1.117, allocations: 110.9 kB / 0.7045 GB, free: 87.34 MB / 442.7 MB Notification: Performance of SimCode: time 2.024e-06/1.117, allocations: 0 / 0.7045 GB, free: 87.34 MB / 442.7 MB Notification: Performance of Templates: time 0.02652/1.143, allocations: 16.4 MB / 0.7205 GB, free: 86.5 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.makefile make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.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_4_0_0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.o Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.c In file included from Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.c:7: In file included from ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_model.h:26: ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_functions.h:259: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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_functions.h:268: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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_functions.h:277: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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_functions.h:286: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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_functions.h:295: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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta_functions.h:304: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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.BalancingDelta.o] Error 1