Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TestSensors") Notification: Performance of loadModel(Modelica): time 1.963/1.963, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.576e-05/2.586e-05, allocations: 0 / 292.1 MB, free: 8.863 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09361/0.09367, allocations: 50.41 MB / 342.5 MB, free: 6.422 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4077/0.5014, allocations: 87.02 MB / 429.6 MB, free: 7.246 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/0.5017, allocations: 77.27 kB / 429.6 MB, free: 7.207 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1154/0.617, allocations: 32.5 MB / 462.1 MB, free: 11.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.363e-06/0.6171, allocations: 0 / 462.1 MB, free: 11.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001319/0.6172, allocations: 59.94 kB / 462.2 MB, free: 11.37 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004495/0.6217, allocations: 1.955 MB / 464.2 MB, free: 9.359 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.6218, allocations: 12.03 kB / 464.2 MB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009351/0.6228, allocations: 265.1 kB / 464.4 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002843/0.6256, allocations: 1.25 MB / 465.7 MB, free: 7.793 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.6258, allocations: 168.5 kB / 465.8 MB, free: 7.625 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004361/0.6263, allocations: 216 kB / 466.1 MB, free: 7.414 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00596/0.6322, allocations: 2.67 MB / 468.7 MB, free: 4.605 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.969e-05/0.6323, allocations: 0 / 468.7 MB, free: 4.605 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003028/0.6326, allocations: 96 kB / 468.8 MB, free: 4.512 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.268e-05/0.6327, allocations: 59.95 kB / 468.9 MB, free: 4.453 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004447/0.6372, allocations: 1.848 MB / 470.7 MB, free: 2.598 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01603/0.6532, allocations: 7.721 MB / 478.4 MB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.6549, allocations: 1.233 MB / 479.7 MB, free: 9.285 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001276/0.6562, allocations: 0.5946 MB / 480.3 MB, free: 8.691 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.818e-05/0.6563, allocations: 8.562 kB / 480.3 MB, free: 8.684 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.6563, allocations: 43.12 kB / 480.3 MB, free: 8.633 MB / 394.7 MB Notification: Performance of pre-optimization done (n=63): time 3.973e-06/0.6563, allocations: 0 / 480.3 MB, free: 8.633 MB / 394.7 MB Notification: Performance of matching and sorting (n=65): time 0.00457/0.6609, allocations: 2.08 MB / 482.4 MB, free: 6.492 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.661, allocations: 59.97 kB / 482.5 MB, free: 6.422 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.6623, allocations: 0.7067 MB / 483.2 MB, free: 5.707 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.771e-05/0.6624, allocations: 33.7 kB / 483.2 MB, free: 5.668 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007512/0.6632, allocations: 0.9319 MB / 484.1 MB, free: 4.723 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/0.6634, allocations: 228.7 kB / 484.4 MB, free: 4.496 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.6635, allocations: 19.94 kB / 484.4 MB, free: 4.477 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.6637, allocations: 342.8 kB / 484.7 MB, free: 4.133 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007092/0.6644, allocations: 349.6 kB / 485 MB, free: 3.793 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009368/0.6654, allocations: 0.5649 MB / 485.6 MB, free: 3.133 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000903/0.6663, allocations: 450.9 kB / 486.1 MB, free: 2.691 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.042e-06/0.6663, allocations: 8 kB / 486.1 MB, free: 2.684 MB / 394.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002322/0.6686, allocations: 1.054 MB / 487.1 MB, free: 1.625 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.6687, allocations: 8 kB / 487.1 MB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.171e-05/0.6687, allocations: 8 kB / 487.1 MB, free: 1.609 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003906/0.6691, allocations: 109.2 kB / 487.2 MB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009236/0.6701, allocations: 175.7 kB / 487.4 MB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003017/0.6731, allocations: 2.139 MB / 489.5 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006938/0.6738, allocations: 43.97 kB / 489.6 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.493e-05/0.6739, allocations: 32.06 kB / 489.6 MB, free: 14.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002347/0.6742, allocations: 157.4 kB / 489.8 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002293/0.6744, allocations: 78.97 kB / 489.9 MB, free: 14.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.6764, allocations: 0.9059 MB / 490.8 MB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.6765, allocations: 7.938 kB / 490.8 MB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.419e-06/0.6765, allocations: 7.953 kB / 490.8 MB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.6765, allocations: 3.984 kB / 490.8 MB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005939/0.6825, allocations: 2.666 MB / 493.4 MB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.911e-05/0.6825, allocations: 4 kB / 493.4 MB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006488/0.6832, allocations: 111.9 kB / 493.6 MB, free: 10.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003433/0.6835, allocations: 92.78 kB / 493.6 MB, free: 10.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-05/0.6836, allocations: 20.16 kB / 493.7 MB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002855/0.6865, allocations: 2.08 MB / 495.7 MB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.94e-06/0.6865, allocations: 0 / 495.7 MB, free: 8.605 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002787/0.6893, allocations: 1.451 MB / 497.2 MB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004679/0.6898, allocations: 224.2 kB / 497.4 MB, free: 6.852 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.69, allocations: 16 kB / 497.4 MB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005771/0.6906, allocations: 47.95 kB / 497.5 MB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.6907, allocations: 48.44 kB / 497.5 MB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.045e-05/0.6908, allocations: 20 kB / 497.5 MB, free: 6.723 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001012/0.6918, allocations: 0.5499 MB / 498.1 MB, free: 6.176 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.13e-07/0.6918, allocations: 0 / 498.1 MB, free: 6.176 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001477/0.6933, allocations: 311.9 kB / 498.4 MB, free: 5.871 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003172/0.6937, allocations: 148.5 kB / 498.5 MB, free: 5.715 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002045/0.6957, allocations: 1.01 MB / 499.6 MB, free: 4.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.885e-06/0.6957, allocations: 0 / 499.6 MB, free: 4.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.6969, allocations: 0.5909 MB / 0.4884 GB, free: 4.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.6981, allocations: 202.8 kB / 0.4886 GB, free: 3.875 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005755/0.7038, allocations: 2.488 MB / 0.491 GB, free: 1.328 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002085/0.7059, allocations: 1.727 MB / 0.4927 GB, free: 15.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002941/0.7062, allocations: 59.44 kB / 0.4928 GB, free: 15.52 MB / 426.7 MB Notification: Performance of SimCode: time 1.647e-06/0.7063, allocations: 0 / 0.4928 GB, free: 15.52 MB / 426.7 MB Notification: Performance of Templates: time 0.04441/0.7507, allocations: 27.44 MB / 0.5196 GB, free: 4.121 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TestSensorsCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TestSensorsCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TestSensorsCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TestSensorsFunctions.cpp:91:49: error: use of undeclared identifier '_omcQuot_24746D705661723130_'; did you mean '_omcQuot_24746D705661723131_'? _omcQuot_24746D705661723131_ = std::cos(_omcQuot_24746D705661723130_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723131_ ./OMCppModelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TestSensorsFunctions.cpp:68:12: note: '_omcQuot_24746D705661723131_' declared here double _omcQuot_24746D705661723131_; ^ ./OMCppModelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TestSensorsFunctions.cpp:128:49: error: use of undeclared identifier '_omcQuot_24746D705661723133_'; did you mean '_omcQuot_24746D705661723134_'? _omcQuot_24746D705661723134_ = std::sin(_omcQuot_24746D705661723133_); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ _omcQuot_24746D705661723134_ ./OMCppModelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TestSensorsFunctions.cpp:105:12: note: '_omcQuot_24746D705661723134_' declared here double _omcQuot_24746D705661723134_; ^ 2 errors generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TestSensorsCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TestSensorsCalcHelperMain.o] Error 1