Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.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.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001015/0.001015, allocations: 196.9 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 226.5 MB / 245.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001014/0.001015, allocations: 91.89 kB / 297.5 MB, free: 6.672 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002456/0.0002458, allocations: 7.984 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2201, allocations: 51.28 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1033/0.3234, allocations: 90.19 MB / 499.6 MB, free: 1.297 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.3237, allocations: 84.64 kB / 499.6 MB, free: 1.215 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2207/0.5444, allocations: 22.79 MB / 0.5102 GB, free: 87.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5444, allocations: 0 / 0.5102 GB, free: 87.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.592e-05/0.5445, allocations: 19.22 kB / 0.5102 GB, free: 87.54 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002175/0.5466, allocations: 1.22 MB / 0.5114 GB, free: 86.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.5467, allocations: 9.5 kB / 0.5114 GB, free: 86.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/0.5484, allocations: 346 kB / 0.5117 GB, free: 86.78 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006681/0.5491, allocations: 0.553 MB / 0.5123 GB, free: 86.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.748e-05/0.5492, allocations: 74.75 kB / 0.5124 GB, free: 86.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.5493, allocations: 101.5 kB / 0.5125 GB, free: 86.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.5507, allocations: 1.017 MB / 0.5134 GB, free: 86.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/0.5508, allocations: 7.766 kB / 0.5135 GB, free: 86.38 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.63e-05/0.5509, allocations: 42.41 kB / 0.5135 GB, free: 86.37 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.537e-05/0.5509, allocations: 31.34 kB / 0.5135 GB, free: 86.37 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/0.5522, allocations: 0.8644 MB / 0.5144 GB, free: 86.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004228/0.5565, allocations: 3.681 MB / 0.518 GB, free: 84.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/0.5582, allocations: 1.903 MB / 0.5198 GB, free: 83.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007087/0.5589, allocations: 462.4 kB / 0.5203 GB, free: 83.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.559, allocations: 180.8 kB / 0.5204 GB, free: 82.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000687/0.5597, allocations: 0.5032 MB / 0.5209 GB, free: 82.61 MB / 378.7 MB Notification: Performance of pre-optimization done (n=84): time 3.417e-06/0.5598, allocations: 3.406 kB / 0.5209 GB, free: 82.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=84): time 0.003826/0.5636, allocations: 1.7 MB / 0.5226 GB, free: 81.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.922e-05/0.5637, allocations: 195.3 kB / 0.5228 GB, free: 81.69 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004622/0.5641, allocations: 474 kB / 0.5232 GB, free: 81.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.812e-05/0.5642, allocations: 45.55 kB / 0.5233 GB, free: 81.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.5644, allocations: 416.9 kB / 0.5237 GB, free: 81.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.5646, allocations: 270.8 kB / 0.5239 GB, free: 80.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.38e-05/0.5646, allocations: 15.47 kB / 0.5239 GB, free: 80.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.494e-05/0.5647, allocations: 375.7 kB / 0.5243 GB, free: 80.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004939/0.5652, allocations: 283.9 kB / 0.5246 GB, free: 80.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005488/0.5658, allocations: 0.4901 MB / 0.525 GB, free: 80.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009987/0.5668, allocations: 0.7574 MB / 0.5258 GB, free: 79.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.5668, allocations: 3.219 kB / 0.5258 GB, free: 79.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001649/0.5684, allocations: 1.043 MB / 0.5268 GB, free: 79.15 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.5685, allocations: 7.094 kB / 0.5268 GB, free: 79.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.5685, allocations: 4.594 kB / 0.5268 GB, free: 79.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000753/0.5692, allocations: 275.8 kB / 0.5271 GB, free: 79.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005036/0.5698, allocations: 148.5 kB / 0.5272 GB, free: 79.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003924/0.5737, allocations: 4.397 MB / 0.5315 GB, free: 75.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006216/0.5743, allocations: 110.4 kB / 0.5316 GB, free: 75.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.728e-05/0.5744, allocations: 31.94 kB / 0.5317 GB, free: 75.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.iDC2.mean.y_last,iDC2.mean.y_last,$PRE.iAC.mean1.y_last,iAC.mean1.y_last,$PRE.iAC.mean2.y_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 80 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 17,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0003919/0.5748, allocations: 247.5 kB / 0.5319 GB, free: 75.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.9e-05/0.5749, allocations: 70.59 kB / 0.532 GB, free: 75.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.5766, allocations: 0.9865 MB / 0.5329 GB, free: 74.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.5766, allocations: 11.34 kB / 0.5329 GB, free: 74.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.5766, allocations: 0 / 0.5329 GB, free: 74.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.5766, allocations: 3.938 kB / 0.5329 GB, free: 74.74 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/0.5792, allocations: 1.964 MB / 0.5349 GB, free: 73.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.5792, allocations: 2.125 kB / 0.5349 GB, free: 73.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003933/0.5796, allocations: 100.7 kB / 0.535 GB, free: 73.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000664/0.5803, allocations: 273.5 kB / 0.5352 GB, free: 72.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.419e-05/0.5803, allocations: 16 kB / 0.5352 GB, free: 72.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003791/0.5841, allocations: 4.357 MB / 0.5395 GB, free: 68.43 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5842, allocations: 4.062 kB / 0.5395 GB, free: 68.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002081/0.5862, allocations: 1.407 MB / 0.5409 GB, free: 67.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002683/0.5865, allocations: 211.7 kB / 0.5411 GB, free: 66.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.38e-05/0.5866, allocations: 23.14 kB / 0.5411 GB, free: 66.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004038/0.587, allocations: 51.64 kB / 0.5411 GB, free: 66.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.5872, allocations: 63.95 kB / 0.5412 GB, free: 66.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.19e-05/0.5872, allocations: 24 kB / 0.5412 GB, free: 66.79 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003175/0.5875, allocations: 322.3 kB / 0.5415 GB, free: 66.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5876, allocations: 4 kB / 0.5415 GB, free: 66.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009836/0.5885, allocations: 319.2 kB / 0.5418 GB, free: 66.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (currentSensorQS.pin_p.reference.gamma,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y_last,iAC.mean2.y_last,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y_last) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002621/0.5888, allocations: 181.4 kB / 0.542 GB, free: 66.03 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001649/0.5905, allocations: 1.108 MB / 0.5431 GB, free: 65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5905, allocations: 4 kB / 0.5431 GB, free: 65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009747/0.5915, allocations: 0.7412 MB / 0.5438 GB, free: 64.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006629/0.5921, allocations: 118 kB / 0.5439 GB, free: 64.21 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002524/0.5947, allocations: 2.019 MB / 0.5459 GB, free: 62.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.5951, allocations: 1.002 MB / 0.5469 GB, free: 61.42 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003436/0.5954, allocations: 77.11 kB / 0.547 GB, free: 61.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.5955, allocations: 47.05 kB / 0.547 GB, free: 61.32 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5955, allocations: 0 / 0.547 GB, free: 61.32 MB / 378.7 MB Notification: Performance of Templates: time 0.01605/0.6116, allocations: 11.34 MB / 0.5581 GB, free: 50.7 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.makefile make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.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_SinglePhase_Examples_Rectifier -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.o Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.c In file included from Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.c:7: In file included from ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_model.h:26: ./Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier_functions.h:225:1: error: unknown type name '_omcQComplexOutput_24currentSensorQS_24i' _omcQComplexOutput_24currentSensorQS_24i omc__omcQComplexOutput_24currentSensorQS_24i (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 1 error generated. make: *** [: Modelica_trunk_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.Rectifier.o] Error 1